diff options
| author | tjg <tjg> | 1999-01-26 12:53:16 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:14 +0100 |
| commit | b1a26c5bd891f015ba2c43252b083e9d48d25001 (patch) | |
| tree | 361ed2f2a3b8d9e97ce361acd8854822e5097ff5 /trip.rc | |
| parent | 1095cdf1a451f585c3794e8bf225772982c49f17 (diff) | |
Testing: add regression test for `-s' behaviour.
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -559,3 +559,9 @@ expect date x=`{ { sleep 1; echo echo foo } | { ./tripping n; $rc >[2=1] } } if (!~ foo $x) fail input file descriptor nonblocking + +# `rc -s' reads from stdin, but should not imply `-i' +expect foo bar qux +$rc -s foo bar qux <<'eof' +echo $* +eof |