From cd262a67d8fdd240af28954663f619f1b7ff1ab8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 19 Sep 2017 23:27:41 -0400 Subject: [PATCH] fixup! lib/commit: Add a copy fastpath for imports --- tests/installed/itest-pull.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/installed/itest-pull.sh b/tests/installed/itest-pull.sh index e4540c7f3b..65cb9449c7 100755 --- a/tests/installed/itest-pull.sh +++ b/tests/installed/itest-pull.sh @@ -31,12 +31,11 @@ rm bare-repo repo -rf # Try copying the host's repo across a mountpoint for direct # imports. cd ${test_tmpdir} -mkdir tmpfs -mount -t tmpfs tmpfs tmpfs -cd tmpfs +mkdir tmpfs mnt +mount --bind tmpfs mnt +cd mnt ostree --repo=repo init --mode=bare ostree --repo=repo pull-local /ostree/repo ${host_commit} ostree --repo=repo fsck cd .. -umount tmpfs - +umount mnt