test stdout stderr for TAP

This commit is contained in:
Thomas Levine 2016-01-28 14:55:08 +00:00
parent cabaaa7ba4
commit ce175cc3df
3 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# Begin - .testsuite/
not ok 1 - a
# ------------ Begin output ------------
# This is stderr from a.
# This is stdout from a.
# ------------ End output ------------
ok 2 - b
ok 3 - # SKIP c

View File

@ -1 +1,4 @@
#!/bin/sh
echo This is stderr from a. > /dev/stderr
echo This is stdout from a. > /dev/stdout
false

View File

@ -1 +1,4 @@
#!/bin/sh
echo This is stderr from b. > /dev/stderr
echo This is stdout from b. > /dev/stdout
true