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