randomtest fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 May 2010 02:32:04 +0000 (04:32 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 May 2010 02:32:04 +0000 (04:32 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/busybox.tests
testsuite/cpio.tests
testsuite/mdev.tests
testsuite/mount.tests

index 18ac36fc4321d5e2402b1ba0c75a8b05bba6d54b..0c740530d01cb46b0f216aa2ea635b7929b822dc 100755 (executable)
@@ -10,7 +10,7 @@ HELPDUMP=`true | busybox 2>&1 | cat`
 
 # We need to test under calling the binary under other names.
 
-optional SHOW_USAGE
+optional FEATURE_VERBOSE_USAGE
 testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" ""
 SKIP=
 
@@ -27,7 +27,7 @@ do
 
        testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" ""
 
-       optional SHOW_USAGE CAT
+       optional FEATURE_VERBOSE_USAGE CAT
        testing "" "$i cat" "moo" "" "moo"
        testing "$i --help cat" "$i --help cat 2>&1 | grep print" \
                "Concatenate FILEs and print them to stdout\n" "" ""
index 8cb8b787b91f132b902b465bcdea4eb252a5f3db..725e70eab0f8211a83a587cc8014303aacd9e10c 100755 (executable)
@@ -31,7 +31,7 @@ rm -rf cpio.testdir cpio.testdir2 2>/dev/null
 
 # testing "test name" "command" "expected result" "file input" "stdin"
 
-optional FEATURE_LS_SORTFILES
+optional FEATURE_LS_SORTFILES FEATURE_LS_TIMESTAMPS
 testing "cpio extracts zero-sized hardlinks" \
 "$ECHO -ne '$hexdump' | bzcat | cpio -i 2>&1; echo \$?;
 ls -ln cpio.testdir | $FILTER_LS" \
@@ -71,7 +71,7 @@ ln cpio.testdir/empty cpio.testdir/empty1
 ln cpio.testdir/nonempty cpio.testdir/nonempty1
 mkdir cpio.testdir2
 
-optional FEATURE_CPIO_O LONG_OPTS
+optional FEATURE_CPIO_O LONG_OPTS FEATURE_LS_SORTFILES FEATURE_LS_TIMESTAMPS
 testing "cpio extracts zero-sized hardlinks 2" \
 "find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i 2>&1); echo \$?;
 ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \
index 0b452548395320ae5c168416a46b399a71bfc332..5bd720b9a6fbbc10129981e1862c71f1d5bc3ef5 100755 (executable)
@@ -138,7 +138,7 @@ SKIP=
 # continuing to use directory structure from prev test
 rm -rf mdev.testdir/dev/*
 echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf
-optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME
+optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH
 testing "mdev command" \
        "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
        ls -lnR mdev.testdir/dev | $FILTER_LS" \
@@ -153,7 +153,7 @@ SKIP=
 # continuing to use directory structure from prev test
 rm -rf mdev.testdir/dev/*
 echo "sda 0:0 644 =block/ @echo @echo TEST:\$MDEV" >mdev.testdir/etc/mdev.conf
-optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME
+optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH
 testing "mdev move and command" \
        "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
        ls -lnR mdev.testdir/dev | $FILTER_LS2" \
index ee13ec285e69bb843233ff57a0c065f800afd57b..34988867da704e68ef050d4923bd1684090b9cca 100755 (executable)
@@ -13,6 +13,7 @@ test "`id -u`" = 0 || {
 
 if test x"$CONFIG_MKFS_MINIX" != x"y" \
 || test x"$CONFIG_FEATURE_MINIX2" != x"y" \
+|| test x"$CONFIG_FEATURE_MOUNT_LOOP" != x"y" \
 || test x"$CONFIG_FEATURE_DEVFS" = x"y" \
 ; then
        echo "SKIPPED: mount"