diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/sh.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/sh.test b/tests/sh.test index 4895ca7b..ca6a2831 100755 --- a/tests/sh.test +++ b/tests/sh.test @@ -57,9 +57,12 @@ testing "leading variable assignments" \ #testing "can't have space before first : but yes around arguments" \ # 'BLAH=abcdefghi; echo ${BLAH: 1 : 3 }' "bcd\n" "" "" -testing "curly brackets and pipe" \ +NOSPACE=1 testing "curly brackets and pipe" \ '{ echo one; echo two ; } | tee blah.txt; wc blah.txt' \ "one\ntwo\n2 2 8 blah.txt\n" "" "" +NOSPACE=1 testing "parentheses and pipe" \ + '(echo two;echo three)|tee blah.txt;wc blah.txt' \ + "two\nthree\n2 2 10 blah.txt\n" "" "" # texpect "name" "command" E/O/I"string" |