From: Rob Browning Date: Sat, 11 Aug 2018 20:30:18 +0000 (-0500) Subject: test-xdev: use different filesystem images for each mount point X-Git-Tag: 0.30~65 X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=commitdiff_plain;h=9df0dc5bb10180749ee3f9c11842178bce327d61;hp=fe526cfdc755fb0b10fcdbe03ed0a81d9e66d89d test-xdev: use different filesystem images for each mount point Previously we were mounting the same image twice, which was unintended, and may produce the same device number. Signed-off-by: Rob Browning Tested-by: Rob Browning --- diff --git a/t/test-xdev.sh b/t/test-xdev.sh index 66dc81e..e981706 100755 --- a/t/test-xdev.sh +++ b/t/test-xdev.sh @@ -41,7 +41,7 @@ WVPASS mkfs -F testfs-1.img # Don't care what type (though must have symlinks) WVPASS mkfs -F testfs-2.img # Don't care what type (though must have symlinks) WVPASS mkdir -p src/mnt-1/hidden-1 src/mnt-2/hidden-2 WVPASS mount -o loop testfs-1.img src/mnt-1 -WVPASS mount -o loop testfs-1.img src/mnt-2 +WVPASS mount -o loop testfs-2.img src/mnt-2 WVPASS touch src/1