diff options
-rwxr-xr-x | t/t0015-working_directory.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/t/t0015-working_directory.sh b/t/t0015-working_directory.sh index 84fe4cc..16c366f 100755 --- a/t/t0015-working_directory.sh +++ b/t/t0015-working_directory.sh @@ -6,7 +6,7 @@ then fi . ./test-lib.sh -t_plan 5 "config.ru inside alt working_directory" +t_plan 6 "config.ru inside alt working_directory" t_begin "setup and start" && { rainbows_setup @@ -41,6 +41,11 @@ EOF rainbows_wait_start } +t_begin "reload to avoid race condition" && { + kill -HUP $rainbows_pid + test xSTART = x"$(cat $fifo)" +} + t_begin "hit with curl" && { body=$(curl -sSf http://$listen/) } |