summaryrefslogtreecommitdiffstats
path: root/t/superuser--http.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 12:01:27 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-28 20:58:59 +0200
commitf077f4bbeb9605010b612d1f7280e5dde729e6c4 (patch)
tree31bd16f7f37cdc570d3f7f4c7eef348dee174622 /t/superuser--http.t
parentf0d66e94010902d344c3f5811cb44712a5ffeb00 (diff)
downloadurpmi-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.t2
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';