summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/ash.tests4
-rwxr-xr-xtestsuite/cpio.tests4
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/ash.tests b/testsuite/ash.tests
index ce585be..183394a 100755
--- a/testsuite/ash.tests
+++ b/testsuite/ash.tests
@@ -9,6 +9,10 @@
test -f "$bindir/.config" && . "$bindir/.config"
+test x"CONFIG_SCRIPT" = x"y" || exit 0
+test x"CONFIG_HEXDUMP" = x"y" || exit 0
+test x"CONFIG_FEATURE_DEVPTS" = x"y" || exit 0
+
# testing "test name" "options" "expected result" "file input" "stdin"
if test x"$CONFIG_UNICODE_PRESERVE_BROKEN" = x"y"; then
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests
index 325664d..2b8f0d0 100755
--- a/testsuite/cpio.tests
+++ b/testsuite/cpio.tests
@@ -69,6 +69,7 @@ ln cpio.testdir/empty cpio.testdir/empty1
ln cpio.testdir/nonempty cpio.testdir/nonempty1
mkdir cpio.testdir2
+optional FEATURE_CPIO_O
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" \
@@ -82,10 +83,12 @@ ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \
-rw-r--r-- 1 $user $group 0 solo
" \
"" ""
+SKIP=
# Was trying to create "/usr/bin", correct is "usr/bin".
rm -rf cpio.testdir
+optional FEATURE_CPIO_P
testing "cpio -p with absolute paths" \
"echo /usr/bin | cpio -dp cpio.testdir 2>&1; echo \$?;
ls cpio.testdir" \
@@ -95,6 +98,7 @@ ls cpio.testdir" \
usr
" \
"" ""
+SKIP=
# Clean up