diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sh.test | 5 |
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" "" "" ######################################################################### |