Merge pull request #156 from prymitive/fix_travis

Make travis fail is test request had errors
This commit is contained in:
unbit
2013-02-20 05:46:31 -08:00
+1 -1
View File
@@ -38,7 +38,7 @@ http_test() {
if [ "$UPID" != "" ]; then
echo -e "${bldgre}>>> Spawned PID $UPID, running tests${txtrst}"
sleep 5
curl -I $URL
curl -fI $URL
RET=$?
if [ $RET != 0 ]; then
die "${bldred}>>> Error during curl run${txtrst}"