From b260fa764cd0a3328c58341e5313b6fba8944d6d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 13 Jan 2017 12:29:17 -0500 Subject: [PATCH] libtest: Enable web server logs Now that we're daemonizing, it's useful to have the logs. I wanted this while debugging cookies. Closes: #651 Approved by: giuseppe --- tests/libtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest.sh b/tests/libtest.sh index db57128a..927b8b1a 100755 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -262,7 +262,7 @@ setup_fake_remote_repo1() { mkdir ${test_tmpdir}/httpd cd httpd ln -s ${test_tmpdir}/ostree-srv ostree - ${OSTREE_HTTPD} --autoexit --daemonize -p ${test_tmpdir}/httpd-port $args + ${OSTREE_HTTPD} --autoexit --log-file $(pwd)/httpd.log --daemonize -p ${test_tmpdir}/httpd-port $args port=$(cat ${test_tmpdir}/httpd-port) echo "http://127.0.0.1:${port}" > ${test_tmpdir}/httpd-address cd ${oldpwd}