From 9df0dc5bb10180749ee3f9c11842178bce327d61 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 11 Aug 2018 15:30:18 -0500 Subject: [PATCH 1/1] 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 --- t/test-xdev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2