update format tests
This commit is contained in:
parent
123f04270b
commit
cebf0d3add
|
@ -1,3 +1,3 @@
|
|||
$TEST_SHELL ../../urchin -v -s sh -t .testsuite/ |
|
||||
sed -e 1d -e /second/d > $tmp
|
||||
sed -e 1,2\ d -e /second/d > $tmp
|
||||
diff $tmp .tap-output-expectation
|
||||
|
|
5
tests/Flags/Test Anything Protocol format 2
Executable file
5
tests/Flags/Test Anything Protocol format 2
Executable file
|
@ -0,0 +1,5 @@
|
|||
lines=$(
|
||||
$TEST_SHELL ../../urchin -v -s sh -t .testsuite/ |
|
||||
tee $tmp | grep -v '^#' | wc -l)
|
||||
cat $tmp
|
||||
test $lines -eq 4
|
|
@ -1,3 +1,3 @@
|
|||
$TEST_SHELL ../../urchin -vv -s sh .testsuite/ |
|
||||
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
|
||||
sed -e 1,2\ d -e 's/. seconds\?/1 second/' > $tmp
|
||||
diff $tmp .urchin-output-expectation
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
$TEST_SHELL ../../urchin --pretty -vv --shell sh .testsuite/ |
|
||||
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
|
||||
sed -e 1,2\ d -e 's/. seconds\?/1 second/' > $tmp
|
||||
diff $tmp .urchin-output-expectation-color
|
||||
|
|
Loading…
Reference in New Issue
Block a user