summaryrefslogtreecommitdiff
path: root/testsuite/mount.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mount.tests')
-rwxr-xr-xtestsuite/mount.tests7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/mount.tests b/testsuite/mount.tests
index 5131006..5374ecb 100755
--- a/testsuite/mount.tests
+++ b/testsuite/mount.tests
@@ -10,8 +10,8 @@ test "`id -u`" = 0 || {
exit 0
}
-dd if=/dev/zero of=image1m count=1 bs=1M 2>/dev/null || exit 1
-mkfs.minix -v image1m >/dev/null 2>&1 || exit 1
+dd if=/dev/zero of=mount.image1m count=1 bs=1M 2>/dev/null || exit 1
+mkfs.minix -v mount.image1m >/dev/null 2>&1 || exit 1
testdir=$PWD/testdir
mkdir $testdir 2>/dev/null
umount -d $testdir 2>/dev/null
@@ -21,7 +21,7 @@ umount -d $testdir 2>/dev/null
# test can create a file "actual" instead of writing to stdout
testing "mount -o remount,mand" \
-"mount -o loop image1m $testdir "\
+"mount -o loop mount.image1m $testdir "\
"&& grep -Fc $testdir </proc/mounts "\
"&& mount -o remount,mand $testdir "\
"&& grep -F $testdir </proc/mounts | grep -c '[, ]mand[, ]'" \
@@ -30,5 +30,6 @@ testing "mount -o remount,mand" \
umount -d $testdir
rmdir $testdir
+rm mount.image1m
exit $FAILCOUNT