t/*: rearrange tests into numbered directories.
It was getting way too ad-hoc in there. Let's reorganize the tests so that there's a good, obvious, suggested sequence to run them in.
This commit is contained in:
parent
116c279e96
commit
7822f5a5bb
170 changed files with 100 additions and 80 deletions
12
t/950-curse/check-2.sh
Normal file
12
t/950-curse/check-2.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
COUNT_IN=$(ls *.count | wc -l)
|
||||
COUNT_OUT=$(cat *.count | wc -l)
|
||||
if [ "$COUNT_IN" -ne "$COUNT_OUT" ]; then
|
||||
echo "expected $COUNT_IN individual writes, got $COUNT_OUT" >&2
|
||||
exit 42
|
||||
fi
|
||||
COUNTALL_IN=$(cat in.countall | wc -l)
|
||||
COUNTALL_OUT=$(cat out.countall | wc -l)
|
||||
if [ "$COUNTALL_IN" -ne "$COUNTALL_OUT" ]; then
|
||||
echo "expected $COUNTALL_IN allwrites, got $COUNTALL_OUT" >&2
|
||||
exit 43
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue