aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-03-19 03:05:06 -0500
committerRob Landley <rob@landley.net>2021-03-19 03:05:06 -0500
commit7a4524c989c2702b0c86ebe210aa6315da3a1a77 (patch)
treec84c5fd329ef11dd5db468a80ebf7feba5f25f5b /tests
parent37731bc3ec6376f0dbcfb8bdf392696d87af881f (diff)
downloadtoybox-7a4524c989c2702b0c86ebe210aa6315da3a1a77.tar.gz
Fix some more sh regressions.
Diffstat (limited to 'tests')
-rw-r--r--tests/sh.test5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/sh.test b/tests/sh.test
index efd906d6..84f8dab3 100644
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -118,20 +118,15 @@ testing 'simple script in $PATH' "PATH='$PWD/sub:$PATH' $SH script" \
rm -rf sub
testing "script file" "chmod +x input; ./input" "hello\n" "#!$C\necho hello" ""
-
testing 'IFS $*' "$SH -c 'IFS=xy; echo \"\$*\"' one two tyree" "twoxtyree\n" \
"" ""
-
testing 'default exports' \
"env -i \"$(which $SH)\" --noprofile --norc -c env | sort" \
"PWD=$(pwd)\nSHLVL=1\n_=$(which env)\n" "" ""
-
testing "leading assignment fail" \
"{ \$SH -c 'X=\${a?blah} > walroid';ls walroid;} 2>/dev/null" '' '' ''
-
testing "lineno" "$SH input" "5 one\n6 one\n5 two\n6 two\n" \
'#!/bin/bash\n\nfor i in one two\ndo\n echo $LINENO $i\n echo $LINENO $i\ndone\n' ""
-
testing "eval0" "sh -c 'eval echo \$*' one two three" "two three\n" "" ""
#########################################################################