diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 21:41:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 21:41:14 +0000 |
commit | abe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch) | |
tree | 46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/mount.tests | |
parent | 94884eb4866815e63293a6261f974601ce95b1dd (diff) | |
download | busybox-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-x | testsuite/mount.tests | 7 |
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 | ||
13 | dd if=/dev/zero of=image1m count=1 bs=1M 2>/dev/null || exit 1 | 13 | dd if=/dev/zero of=mount.image1m count=1 bs=1M 2>/dev/null || exit 1 |
14 | mkfs.minix -v image1m >/dev/null 2>&1 || exit 1 | 14 | mkfs.minix -v mount.image1m >/dev/null 2>&1 || exit 1 |
15 | testdir=$PWD/testdir | 15 | testdir=$PWD/testdir |
16 | mkdir $testdir 2>/dev/null | 16 | mkdir $testdir 2>/dev/null |
17 | umount -d $testdir 2>/dev/null | 17 | umount -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 | ||
23 | testing "mount -o remount,mand" \ | 23 | testing "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 | ||
31 | umount -d $testdir | 31 | umount -d $testdir |
32 | rmdir $testdir | 32 | rmdir $testdir |
33 | rm mount.image1m | ||
33 | 34 | ||
34 | exit $FAILCOUNT | 35 | exit $FAILCOUNT |