blob: fd3b9447198de6de366df8bf51cd38b0c0e564e5 [file] [log] [blame]
#!/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"