aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/busybox.tests4
-rwxr-xr-xtestsuite/cpio.tests4
-rwxr-xr-xtestsuite/mdev.tests4
-rwxr-xr-xtestsuite/mount.tests1
4 files changed, 7 insertions, 6 deletions
diff --git a/testsuite/busybox.tests b/testsuite/busybox.tests
index 18ac36fc4..0c740530d 100755
--- a/testsuite/busybox.tests
+++ b/testsuite/busybox.tests
@@ -10,7 +10,7 @@ HELPDUMP=`true | busybox 2>&1 | cat`
10 10
11# We need to test under calling the binary under other names. 11# We need to test under calling the binary under other names.
12 12
13optional SHOW_USAGE 13optional FEATURE_VERBOSE_USAGE
14testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" "" 14testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" ""
15SKIP= 15SKIP=
16 16
@@ -27,7 +27,7 @@ do
27 27
28 testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" "" 28 testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" ""
29 29
30 optional SHOW_USAGE CAT 30 optional FEATURE_VERBOSE_USAGE CAT
31 testing "" "$i cat" "moo" "" "moo" 31 testing "" "$i cat" "moo" "" "moo"
32 testing "$i --help cat" "$i --help cat 2>&1 | grep print" \ 32 testing "$i --help cat" "$i --help cat 2>&1 | grep print" \
33 "Concatenate FILEs and print them to stdout\n" "" "" 33 "Concatenate FILEs and print them to stdout\n" "" ""
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests
index 8cb8b787b..725e70eab 100755
--- a/testsuite/cpio.tests
+++ b/testsuite/cpio.tests
@@ -31,7 +31,7 @@ rm -rf cpio.testdir cpio.testdir2 2>/dev/null
31 31
32# testing "test name" "command" "expected result" "file input" "stdin" 32# testing "test name" "command" "expected result" "file input" "stdin"
33 33
34optional FEATURE_LS_SORTFILES 34optional FEATURE_LS_SORTFILES FEATURE_LS_TIMESTAMPS
35testing "cpio extracts zero-sized hardlinks" \ 35testing "cpio extracts zero-sized hardlinks" \
36"$ECHO -ne '$hexdump' | bzcat | cpio -i 2>&1; echo \$?; 36"$ECHO -ne '$hexdump' | bzcat | cpio -i 2>&1; echo \$?;
37ls -ln cpio.testdir | $FILTER_LS" \ 37ls -ln cpio.testdir | $FILTER_LS" \
@@ -71,7 +71,7 @@ ln cpio.testdir/empty cpio.testdir/empty1
71ln cpio.testdir/nonempty cpio.testdir/nonempty1 71ln cpio.testdir/nonempty cpio.testdir/nonempty1
72mkdir cpio.testdir2 72mkdir cpio.testdir2
73 73
74optional FEATURE_CPIO_O LONG_OPTS 74optional FEATURE_CPIO_O LONG_OPTS FEATURE_LS_SORTFILES FEATURE_LS_TIMESTAMPS
75testing "cpio extracts zero-sized hardlinks 2" \ 75testing "cpio extracts zero-sized hardlinks 2" \
76"find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i 2>&1); echo \$?; 76"find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i 2>&1); echo \$?;
77ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \ 77ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests
index 0b4525483..5bd720b9a 100755
--- a/testsuite/mdev.tests
+++ b/testsuite/mdev.tests
@@ -138,7 +138,7 @@ SKIP=
138# continuing to use directory structure from prev test 138# continuing to use directory structure from prev test
139rm -rf mdev.testdir/dev/* 139rm -rf mdev.testdir/dev/*
140echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf 140echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf
141optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME 141optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH
142testing "mdev command" \ 142testing "mdev command" \
143 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; 143 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
144 ls -lnR mdev.testdir/dev | $FILTER_LS" \ 144 ls -lnR mdev.testdir/dev | $FILTER_LS" \
@@ -153,7 +153,7 @@ SKIP=
153# continuing to use directory structure from prev test 153# continuing to use directory structure from prev test
154rm -rf mdev.testdir/dev/* 154rm -rf mdev.testdir/dev/*
155echo "sda 0:0 644 =block/ @echo @echo TEST:\$MDEV" >mdev.testdir/etc/mdev.conf 155echo "sda 0:0 644 =block/ @echo @echo TEST:\$MDEV" >mdev.testdir/etc/mdev.conf
156optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME 156optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH
157testing "mdev move and command" \ 157testing "mdev move and command" \
158 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; 158 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
159 ls -lnR mdev.testdir/dev | $FILTER_LS2" \ 159 ls -lnR mdev.testdir/dev | $FILTER_LS2" \
diff --git a/testsuite/mount.tests b/testsuite/mount.tests
index ee13ec285..34988867d 100755
--- a/testsuite/mount.tests
+++ b/testsuite/mount.tests
@@ -13,6 +13,7 @@ test "`id -u`" = 0 || {
13 13
14if test x"$CONFIG_MKFS_MINIX" != x"y" \ 14if test x"$CONFIG_MKFS_MINIX" != x"y" \
15|| test x"$CONFIG_FEATURE_MINIX2" != x"y" \ 15|| test x"$CONFIG_FEATURE_MINIX2" != x"y" \
16|| test x"$CONFIG_FEATURE_MOUNT_LOOP" != x"y" \
16|| test x"$CONFIG_FEATURE_DEVFS" = x"y" \ 17|| test x"$CONFIG_FEATURE_DEVFS" = x"y" \
17; then 18; then
18 echo "SKIPPED: mount" 19 echo "SKIPPED: mount"