Skip to content

@matthiasr /bisect.sh
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
bisecting curl keepalive problem on DragonFly
#!/bin/sh
echo buildconf
./buildconf 2> /dev/null > /dev/null || exit 125
echo configure
./configure 2> /dev/null > /dev/null || exit 125
echo make
make 2> /dev/null > /dev/null || exit 125
echo Attempting to use the curl we just built ...
src/curl http://www.shiningsilence.com/dbsdlog/ > bisect.tmp
E=$?
echo "Let's see what we got ..."
wc -c bisect.tmp
if [ $E -eq 56 ]; then
echo "... and a return code ($E)"
echo "cleaning up ..."
make -k distclean 2> /dev/null > /dev/null
echo done.
exit 1
else
echo "... and a return code ($E)"
echo "cleaning up ..."
make -k distclean 2> /dev/null > /dev/null
echo done.
exit 0
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.