diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 08:50:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:34 +0200 |
commit | 89424b41ef62430a49012c5c57b1979f29029505 (patch) | |
tree | 04b5b8e9ed16c4801b55d416e2b11bf7813a9853 /tests/test/script/testscript | |
parent | 89a997464b9ffd02580c5316b471dbd0779d86b9 (diff) |
Implement concurrent_runner
Diffstat (limited to 'tests/test/script/testscript')
-rw-r--r-- | tests/test/script/testscript | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/test/script/testscript b/tests/test/script/testscript new file mode 100644 index 0000000..b1cf0a5 --- /dev/null +++ b/tests/test/script/testscript @@ -0,0 +1,42 @@ +$* +$* -i 0 <foo +$* -o foo >foo +$* -o foo >! +$* -e foo 2>! + +$* -o foo -o bar >>EOO +foo +bar +EOO + +$* -i 1 <<EOI >>EOO +foo +bar +EOI +foo +bar +EOO + +$* -i 2 <<EOI 2>>EOE +foo +bar +EOI +foo +bar +EOE + +$* -i 2 -s 1 <<EOI 2>>EOE != 0 +foo +bar +EOI +foo +bar +EOE + +$* -i 2 -o baz -s 10 <<EOI 1>baz 2>>EOE == 10 +foo +bar +EOI +foo +bar +EOE |