diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-09 12:01:27 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 20:58:59 +0200 |
commit | f077f4bbeb9605010b612d1f7280e5dde729e6c4 (patch) | |
tree | 31bd16f7f37cdc570d3f7f4c7eef348dee174622 /t/superuser--http.t | |
parent | f0d66e94010902d344c3f5811cb44712a5ffeb00 (diff) | |
download | urpmi-f077f4bbeb9605010b612d1f7280e5dde729e6c4.tar urpmi-f077f4bbeb9605010b612d1f7280e5dde729e6c4.tar.gz urpmi-f077f4bbeb9605010b612d1f7280e5dde729e6c4.tar.bz2 urpmi-f077f4bbeb9605010b612d1f7280e5dde729e6c4.tar.xz urpmi-f077f4bbeb9605010b612d1f7280e5dde729e6c4.zip |
check that web server has actually started
reports its error messages if any
Diffstat (limited to 't/superuser--http.t')
-rw-r--r-- | t/superuser--http.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/superuser--http.t b/t/superuser--http.t index 625c1076..ba74e54c 100644 --- a/t/superuser--http.t +++ b/t/superuser--http.t @@ -12,6 +12,8 @@ need_root_and_prepare(); need_downloader(); my $url = start_httpd(); +sleep(1); # give time to server to start +is(`cat tmp/error.log`, '', 'server error logs are empty'); my $name = 'various'; |