summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2014-12-22 19:37:05 +0100
committerDenys Vlasenko2014-12-22 19:37:05 +0100
commit11775edbfc27d2ad1cd0dff3f7af385f67719866 (patch)
treefd0c34716d0c4f2fe204be19e077b1f2ba603518 /testsuite
parenta6588fa10230e7b87990482773a445701abbaae8 (diff)
downloadbusybox-11775edbfc27d2ad1cd0dff3f7af385f67719866.zip
busybox-11775edbfc27d2ad1cd0dff3f7af385f67719866.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/find.tests3
-rwxr-xr-xtestsuite/mdev.tests2
2 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/find.tests b/testsuite/find.tests
index f041106..78dfa12 100755
--- a/testsuite/find.tests
+++ b/testsuite/find.tests
@@ -10,11 +10,12 @@
mkdir -p find.tempdir
touch find.tempdir/testfile
+optional FEATURE_FIND_TYPE
testing "find -type f" \
"cd find.tempdir && find -type f 2>&1" \
"./testfile\n" \
"" ""
-
+SKIP=
optional FEATURE_FIND_EXEC
testing "find -exec exitcode 1" \
"cd find.tempdir && find testfile -exec true {} \; 2>&1; echo \$?" \
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests
index 48d3dcc..5987301 100755
--- a/testsuite/mdev.tests
+++ b/testsuite/mdev.tests
@@ -168,7 +168,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 FEATURE_SH_IS_ASH
+optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_EXEC FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_SH_IS_ASH ASH_BUILTIN_ECHO
testing "mdev command" \
"env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
ls -lnR mdev.testdir/dev | $FILTER_LS" \