diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/ash.tests | 4 | ||||
-rwxr-xr-x | testsuite/cpio.tests | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/ash.tests b/testsuite/ash.tests index ce585beb1..183394a20 100755 --- a/testsuite/ash.tests +++ b/testsuite/ash.tests | |||
@@ -9,6 +9,10 @@ | |||
9 | 9 | ||
10 | test -f "$bindir/.config" && . "$bindir/.config" | 10 | test -f "$bindir/.config" && . "$bindir/.config" |
11 | 11 | ||
12 | test x"CONFIG_SCRIPT" = x"y" || exit 0 | ||
13 | test x"CONFIG_HEXDUMP" = x"y" || exit 0 | ||
14 | test x"CONFIG_FEATURE_DEVPTS" = x"y" || exit 0 | ||
15 | |||
12 | # testing "test name" "options" "expected result" "file input" "stdin" | 16 | # testing "test name" "options" "expected result" "file input" "stdin" |
13 | 17 | ||
14 | if test x"$CONFIG_UNICODE_PRESERVE_BROKEN" = x"y"; then | 18 | if test x"$CONFIG_UNICODE_PRESERVE_BROKEN" = x"y"; then |
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 325664d71..2b8f0d030 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests | |||
@@ -69,6 +69,7 @@ ln cpio.testdir/empty cpio.testdir/empty1 | |||
69 | ln cpio.testdir/nonempty cpio.testdir/nonempty1 | 69 | ln cpio.testdir/nonempty cpio.testdir/nonempty1 |
70 | mkdir cpio.testdir2 | 70 | mkdir cpio.testdir2 |
71 | 71 | ||
72 | optional FEATURE_CPIO_O | ||
72 | testing "cpio extracts zero-sized hardlinks 2" \ | 73 | testing "cpio extracts zero-sized hardlinks 2" \ |
73 | "find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i 2>&1); echo \$?; | 74 | "find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i 2>&1); echo \$?; |
74 | ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \ | 75 | ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \ |
@@ -82,10 +83,12 @@ ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \ | |||
82 | -rw-r--r-- 1 $user $group 0 solo | 83 | -rw-r--r-- 1 $user $group 0 solo |
83 | " \ | 84 | " \ |
84 | "" "" | 85 | "" "" |
86 | SKIP= | ||
85 | 87 | ||
86 | 88 | ||
87 | # Was trying to create "/usr/bin", correct is "usr/bin". | 89 | # Was trying to create "/usr/bin", correct is "usr/bin". |
88 | rm -rf cpio.testdir | 90 | rm -rf cpio.testdir |
91 | optional FEATURE_CPIO_P | ||
89 | testing "cpio -p with absolute paths" \ | 92 | testing "cpio -p with absolute paths" \ |
90 | "echo /usr/bin | cpio -dp cpio.testdir 2>&1; echo \$?; | 93 | "echo /usr/bin | cpio -dp cpio.testdir 2>&1; echo \$?; |
91 | ls cpio.testdir" \ | 94 | ls cpio.testdir" \ |
@@ -95,6 +98,7 @@ ls cpio.testdir" \ | |||
95 | usr | 98 | usr |
96 | " \ | 99 | " \ |
97 | "" "" | 100 | "" "" |
101 | SKIP= | ||
98 | 102 | ||
99 | 103 | ||
100 | # Clean up | 104 | # Clean up |