mirror of
https://github.com/openharmony/third_party_toybox.git
synced 2026-07-01 21:34:01 -04:00
2095d741a5
Signed-off-by: gong-guilin <gongguilin@h-partners.com>
10 lines
246 B
Bash
10 lines
246 B
Bash
#!/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"
|