From 7a4524c989c2702b0c86ebe210aa6315da3a1a77 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 19 Mar 2021 03:05:06 -0500 Subject: Fix some more sh regressions. --- tests/sh.test | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests') 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" "" "" ######################################################################### -- cgit v1.2.3