Commit bdada624 authored by Geoff Simmons's avatar Geoff Simmons

Fix for compatibility with Varnish 4.1.0.

parent f259d678
......@@ -60,6 +60,7 @@
#include "vcs_version.h"
#include "vtim.h"
#include "vapi/vsm.h"
#include "vapi/vsl.h"
#include "miniobj.h"
#include "vas.h"
......
......@@ -40,6 +40,7 @@
#include "vas.h"
#include "miniobj.h"
#include "vdef.h"
#include "vsb.h"
/* Preprend head2 before head1, result in head1, head2 empty afterward */
......
......@@ -49,6 +49,7 @@
#endif
#include "vas.h"
#include "vdef.h"
#include "vsb.h"
#include "trackrdrd.h"
......
......@@ -29,7 +29,7 @@ rm -f $LOG $MSG
# "Not running as root" filtered so that the test is independent of
# the user running it
CKSUM=$( grep -v 'Worker 1' $LOG | sed -e 's/\(initializing\) \(.*\)/\1/' | sed -e 's/\(Running as\) \([a-zA-Z0-9]*\)$/\1/' | grep -v 'Not running as root' | cksum)
if [ "$CKSUM" != '3927549947 214347' ]; then
if [ "$CKSUM" != '3352465725 375518' ]; then
echo "ERROR: Regression test incorrect reader log cksum: $CKSUM"
exit 1
fi
......@@ -39,14 +39,14 @@ fi
# in different runs.
# Also filter the version/revision from the "connected" line.
CKSUM=$( grep 'Worker 1' $LOG | egrep -v 'returned [0-9]+ [^ ]+ to free list' | sed -e 's/\(connected\) \(.*\)/\1/' | cksum)
if [ "$CKSUM" != '4004155691 35506' ]; then
if [ "$CKSUM" != '3908916621 57319' ]; then
echo "ERROR: Regression test incorrect worker log cksum: $CKSUM"
exit 1
fi
# Check the messages and keys
CKSUM=$(cksum $MSG)
if [ "$CKSUM" != "3675018591 29491 $MSG" ]; then
if [ "$CKSUM" != "1139478852 48689 $MSG" ]; then
echo "ERROR: Regression test incorrect output cksum: $CKSUM"
exit 1
fi
......
No preview for this file type
......@@ -39,6 +39,7 @@
#include "trackrdrd.h"
#include "vas.h"
#include "miniobj.h"
#include "vdef.h"
#include "vsb.h"
#define VERSION_LEN 80
......
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