#!/bin/sh #source ./wait_for_url.sh # # echo test1 # (wait_for_url) # echo # echo test2 # (wait_for_url http://localhost:8000 || echo "error reaching url") # echo "test2 done" # # echo test3 # (wait_for_url http://localhost:8000 4) # echo # # echo test4 # (wait_for_url http://localhost:8000 4 17) # echo source ./wait_for_pid_exit.sh echo test5 (wait_for_pid_exit 45591 4 17) echo "test5 done"