diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-03-24 17:41:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-03-24 17:41:49 -0700 |
commit | 96d19551c0ceaf98ad065930ee82b8ff7961d826 (patch) | |
tree | cf166e7853f8907caa9eca752e70bf85dead9b68 /testcases | |
parent | f4faff773cf7eb2b45d2658b5244d0a4c6a10c10 (diff) | |
download | cppawk-96d19551c0ceaf98ad065930ee82b8ff7961d826.tar.gz cppawk-96d19551c0ceaf98ad065930ee82b8ff7961d826.tar.bz2 cppawk-96d19551c0ceaf98ad065930ee82b8ff7961d826.zip |
If Bash is available, use process substitution.
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -177,8 +177,10 @@ foo_bar foo_bar -- 32: -./cppawk --awk=./testdir/testawk foo +./cppawk --awk=./testdir/testawk foo ; +./cppawk --nobash --awk=./testdir/testawk foo : +[-f][/d][--] [-f][/t][--] -- 33: @@ -197,9 +199,9 @@ mawk=1 gawk=__gawk__ -- 36: -./cppawk --prepro=die --prepro-only x 2>&1 | grep 'not found' +./cppawk --prepro=die --prepro-only x 2>&1 | (grep -q 'die.*not found' && echo "good") : -./cppawk: 1: eval: die: not found +good -- 37: tmp=$(./cppawk --awk=testdir/testdel 1); [ -e $tmp ] || echo gone |