head     1.1;
branch   1.1.1;
access   ;
symbols  httpd-base:1.1.1.1 MRG:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2009.11.03.04.55.19;  author agc;  state Exp;
branches 1.1.1.1;
next     ;
commitid        VqJxsN5LGNAxU1au;

1.1.1.1
date     2009.11.03.04.55.19;  author agc;  state Exp;
branches ;
next     ;
commitid        VqJxsN5LGNAxU1au;


desc
@@



1.1
log
@Initial revision
@
text
@#! /bin/sh

test="$1"	# partial4000 or partial8000
bozohttpd="$2"
wget="$3"
datadir="$4"

bozotestport=11111

# copy beginning file
cp ./data/bigfile.${test} ./bigfile

# fire up bozohttpd
${bozohttpd} -b -b -I ${bozotestport} -n -s -f ${datadir} &
bozopid=$!

${wget} -c http://localhost:${bozotestport}/bigfile

kill -9 $bozopid

if cmp ./bigfile ./data/bigfile; then
	rm -f ./bigfile
	exit 0
else
	rm -f ./bigfile
	exit 1
fi
@


1.1.1.1
log
@initial import of mrg's bozohttpd
@
text
@@
