diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tee.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tee.test b/tests/tee.test new file mode 100755 index 00000000..fd3b9447 --- /dev/null +++ b/tests/tee.test @@ -0,0 +1,9 @@ +#!/bin/bash + +[ -f testing.sh ] && . testing.sh + +#testing "name" "command" "result" "infile" "stdin" + +testing "" "tee" "one" "" "one" +testing "" "tee -" "two\n" "" "two\n" +testing "" "tee one > two && cmp one two && echo that" "that\n" "" "three" |