summaryrefslogtreecommitdiff
path: root/testsuite/mount.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-11 21:41:14 +0000
committerDenis Vlasenko2008-07-11 21:41:14 +0000
commitabe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch)
tree46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/mount.tests
parent94884eb4866815e63293a6261f974601ce95b1dd (diff)
downloadbusybox-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.zip
busybox-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.gz
testsuite: uniformly use $ECHO with -n -e
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