testing --color
This commit is contained in:
parent
dbd604a82d
commit
a9cad20ff7
@ -1,11 +1,11 @@
|
||||
|
||||
./
|
||||
> a
|
||||
[31m✗ [0msh (1 second)
|
||||
✗ sh (1 second)
|
||||
# This is stdout from a.
|
||||
./
|
||||
> b
|
||||
[32m✓ [0msh (1 second)
|
||||
✓ sh (1 second)
|
||||
./
|
||||
> c
|
||||
(File is not executable.)
|
||||
@ -13,5 +13,4 @@
|
||||
Done, took 1 second.
|
||||
1 test passed.
|
||||
1 test skipped.
|
||||
[31m1 test failed.
|
||||
[m
|
||||
1 test failed.
|
||||
|
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