2010-11-21 00:31:48 -08:00
|
|
|
COUNT_IN=$(ls *.count | wc -l)
|
|
|
|
|
COUNT_OUT=$(cat *.count | wc -l)
|
2010-12-12 05:38:30 -08:00
|
|
|
if [ "$COUNT_IN" -ne "$COUNT_OUT" ]; then
|
2010-11-21 00:31:48 -08:00
|
|
|
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)
|
2010-12-12 05:38:30 -08:00
|
|
|
if [ "$COUNTALL_IN" -ne "$COUNTALL_OUT" ]; then
|
2010-11-21 00:31:48 -08:00
|
|
|
echo "expected $COUNTALL_IN allwrites, got $COUNTALL_OUT" >&2
|
|
|
|
|
exit 43
|
|
|
|
|
fi
|