From 57353ae099a4c41808ed95b58b03d6b0ef9406d8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 27 Apr 2020 06:11:23 -0500 Subject: Redo toysh variable expansion plumbing to start ${} (variable expansion can now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice --- tests/sh.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/sh.test b/tests/sh.test index 18e19a86..2fb341b3 100644 --- a/tests/sh.test +++ b/tests/sh.test @@ -55,7 +55,7 @@ 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 'IFS $*' "sh -c 'IFS=xy; echo \"\$*\"' one two tyree" "twoxtyree\n" \ "" "" # Change EVAL to call sh -c for us, using "bash" explicitly for the host. -- cgit v1.2.3