Commit b310a558 authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: grepping out the "initializing" line in the regression test,

           because it contains the version/revision number (always changes)
parent 7a027f3d
......@@ -14,8 +14,10 @@
echo
echo "TEST: $0"
echo "... testing log output at debug level against a known checksum"
CKSUM=$(../trackrdrd -D -f varnish.binlog -l - -d -c test.conf | cksum)
if [ "$CKSUM" != '1301373213 229245' ]; then
CMD="../trackrdrd -D -f varnish.binlog -l - -d -c test.conf"
# grep out the "initializing" line, which includes the version/revision
CKSUM=$( $CMD | grep -v initializing | cksum)
if [ "$CKSUM" != '3698127258 229202' ]; then
echo "ERROR: Regression test incorrect cksum: $CKSUM"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment