Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

bisecting curl keepalive problem on DragonFly

View bisect.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/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.