aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sh.tests
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-08-19 09:32:30 +0100
committerRon Yorston <rmy@pobox.com>2023-08-19 09:32:30 +0100
commit77aa74d151643ff2ec96156942e004fba19464a5 (patch)
treed1b3d644bf9166d2f33b0d6c48d6f5e743b10ee6 /testsuite/sh.tests
parent5c1a3b00e235da31b2c73bae18aa5622d820b68a (diff)
downloadbusybox-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-xtestsuite/sh.tests2
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
14optional PLATFORM_MINGW32
14# Test case 15# Test case
15testing "shebang" \ 16testing "shebang" \
16 "uudecode; sh -c './shebang.sh'; echo \$?" \ 17 "uudecode; sh -c './shebang.sh'; echo \$?" \
@@ -112,5 +113,6 @@ testing "sh read with \\CRLF" \
112testing "sh read with \\CR" \ 113testing "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" "" ""
116SKIP=
115 117
116exit $FAILCOUNT 118exit $FAILCOUNT