Skip to content

Commit

Permalink
Curl verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Jul 24, 2023
1 parent 2102ae4 commit fbf0866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/includes/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ httpd_run() {

httpd_wait_until_ready() {
local i=0
curl -s localhost:6666 &> /dev/null
curl localhost:6666
while [ $? -ne 0 ];
do
i=$(expr $i + 1)
Expand All @@ -74,7 +74,7 @@ httpd_wait_until_ready() {
exit 1;
fi
sleep 10;
curl -s localhost:6666 &> /dev/null
curl localhost:6666
done
echo "httpd ready after $i attempts"
}
Expand Down

0 comments on commit fbf0866

Please sign in to comment.