Sign in
android
/
platform
/
external
/
toybox
/
58b42b238471493eda66973393ee82b5a72389c6
/
.
/
tests
/
tee.test
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"