Created
June 28, 2012 21:00
-
-
Save matthiasr/3013871 to your computer and use it in GitHub Desktop.
bisecting curl keepalive problem on DragonFly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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