aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mount.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 21:41:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 21:41:14 +0000
commitabe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch)
tree46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/mount.tests
parent94884eb4866815e63293a6261f974601ce95b1dd (diff)
downloadbusybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.gz
busybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.bz2
busybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.zip
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 513100633..5374ecbd6 100755
--- a/testsuite/mount.tests
+++ b/testsuite/mount.tests
@@ -10,8 +10,8 @@ test "`id -u`" = 0 || {
10 exit 0 10 exit 0
11} 11}
12 12
13dd if=/dev/zero of=image1m count=1 bs=1M 2>/dev/null || exit 1 13dd if=/dev/zero of=mount.image1m count=1 bs=1M 2>/dev/null || exit 1
14mkfs.minix -v image1m >/dev/null 2>&1 || exit 1 14mkfs.minix -v mount.image1m >/dev/null 2>&1 || exit 1
15testdir=$PWD/testdir 15testdir=$PWD/testdir
16mkdir $testdir 2>/dev/null 16mkdir $testdir 2>/dev/null
17umount -d $testdir 2>/dev/null 17umount -d $testdir 2>/dev/null
@@ -21,7 +21,7 @@ umount -d $testdir 2>/dev/null
21# test can create a file "actual" instead of writing to stdout 21# test can create a file "actual" instead of writing to stdout
22 22
23testing "mount -o remount,mand" \ 23testing "mount -o remount,mand" \
24"mount -o loop image1m $testdir "\ 24"mount -o loop mount.image1m $testdir "\
25"&& grep -Fc $testdir </proc/mounts "\ 25"&& grep -Fc $testdir </proc/mounts "\
26"&& mount -o remount,mand $testdir "\ 26"&& mount -o remount,mand $testdir "\
27"&& grep -F $testdir </proc/mounts | grep -c '[, ]mand[, ]'" \ 27"&& grep -F $testdir </proc/mounts | grep -c '[, ]mand[, ]'" \
@@ -30,5 +30,6 @@ testing "mount -o remount,mand" \
30 30
31umount -d $testdir 31umount -d $testdir
32rmdir $testdir 32rmdir $testdir
33rm mount.image1m
33 34
34exit $FAILCOUNT 35exit $FAILCOUNT