diff options
Diffstat (limited to 'tests/sh.dol.at')
-rw-r--r-- | tests/sh.dol.at | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/sh.dol.at b/tests/sh.dol.at new file mode 100644 index 0000000000000..46e8ad714d8db --- /dev/null +++ b/tests/sh.dol.at @@ -0,0 +1,20 @@ +# $... substitution handling + +AT_SETUP([$<]) + +AT_DATA([cat.csh], +[[while (1) + set line=$<:q + if ("$line" == "") goto END; + echo "$line" +end +END: + exit 0 +]]) +AT_DATA([input], +[[foo +!@#$%^&*()_+-=[]{};':"\|,./<>?`~ +]]) +AT_CHECK([tcsh -f cat.csh < input | cmp -s input -]) + +AT_CLEANUP |