diff options
author | Ron Yorston <rmy@pobox.com> | 2023-08-19 09:32:30 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-08-19 09:32:30 +0100 |
commit | 77aa74d151643ff2ec96156942e004fba19464a5 (patch) | |
tree | d1b3d644bf9166d2f33b0d6c48d6f5e743b10ee6 /testsuite/sh.tests | |
parent | 5c1a3b00e235da31b2c73bae18aa5622d820b68a (diff) | |
download | busybox-w32-77aa74d151643ff2ec96156942e004fba19464a5.tar.gz busybox-w32-77aa74d151643ff2ec96156942e004fba19464a5.tar.bz2 busybox-w32-77aa74d151643ff2ec96156942e004fba19464a5.zip |
testsuite: skip some tests in native build
The testsuite includes some Windows-specific tests. Exclude these
when running a test on a native build to avoid upsetting the results.
Diffstat (limited to 'testsuite/sh.tests')
-rwxr-xr-x | testsuite/sh.tests | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/sh.tests b/testsuite/sh.tests index 749d2dde2..0eccf20bc 100755 --- a/testsuite/sh.tests +++ b/testsuite/sh.tests | |||
@@ -11,6 +11,7 @@ test -f "$bindir/.config" && . "$bindir/.config" | |||
11 | 11 | ||
12 | # testing "test name" "options" "expected result" "file input" "stdin" | 12 | # testing "test name" "options" "expected result" "file input" "stdin" |
13 | 13 | ||
14 | optional PLATFORM_MINGW32 | ||
14 | # Test case | 15 | # Test case |
15 | testing "shebang" \ | 16 | testing "shebang" \ |
16 | "uudecode; sh -c './shebang.sh'; echo \$?" \ | 17 | "uudecode; sh -c './shebang.sh'; echo \$?" \ |
@@ -112,5 +113,6 @@ testing "sh read with \\CRLF" \ | |||
112 | testing "sh read with \\CR" \ | 113 | testing "sh read with \\CR" \ |
113 | "printf '1\\\\\r2\\r\\n' | { read var; printf \"\${var}\\\\n\"; }" \ | 114 | "printf '1\\\\\r2\\r\\n' | { read var; printf \"\${var}\\\\n\"; }" \ |
114 | "1\r2\n" "" "" | 115 | "1\r2\n" "" "" |
116 | SKIP= | ||
115 | 117 | ||
116 | exit $FAILCOUNT | 118 | exit $FAILCOUNT |