testing --color
This commit is contained in:
parent
dbd604a82d
commit
a9cad20ff7
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
./
|
./
|
||||||
> a
|
> a
|
||||||
[31m✗ [0msh (1 second)
|
✗ sh (1 second)
|
||||||
# This is stdout from a.
|
# This is stdout from a.
|
||||||
./
|
./
|
||||||
> b
|
> b
|
||||||
[32m✓ [0msh (1 second)
|
✓ sh (1 second)
|
||||||
./
|
./
|
||||||
> c
|
> c
|
||||||
(File is not executable.)
|
(File is not executable.)
|
||||||
@ -13,5 +13,4 @@
|
|||||||
Done, took 1 second.
|
Done, took 1 second.
|
||||||
1 test passed.
|
1 test passed.
|
||||||
1 test skipped.
|
1 test skipped.
|
||||||
[31m1 test failed.
|
1 test failed.
|
||||||
[m
|
|
||||||
|
17
tests/Flags/.urchin-output-expectation-color
Normal file
17
tests/Flags/.urchin-output-expectation-color
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
./
|
||||||
|
> a
|
||||||
|
[31m✗ [0msh (1 second)
|
||||||
|
# This is stdout from a.
|
||||||
|
./
|
||||||
|
> b
|
||||||
|
[32m✓ [0msh (1 second)
|
||||||
|
./
|
||||||
|
> c
|
||||||
|
(File is not executable.)
|
||||||
|
|
||||||
|
Done, took 1 second.
|
||||||
|
1 test passed.
|
||||||
|
1 test skipped.
|
||||||
|
[31m1 test failed.
|
||||||
|
[m
|
3
tests/Flags/Urchin format with --color
Executable file
3
tests/Flags/Urchin format with --color
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
$TEST_SHELL ../../urchin --color -s sh .testsuite/ |
|
||||||
|
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
|
||||||
|
diff $tmp .urchin-output-expectation
|
Loading…
Reference in New Issue
Block a user