summaryrefslogtreecommitdiff
path: root/tests/test-commit-sign.sh
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2014-10-07 12:05:59 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2014-10-07 12:05:59 +0200
commit7b0e70b72fb1d7307a018a72dbf4a5c9bff9a235 (patch)
tree86ae05d02a64a3ef4d61438e2e70880f52d16cd9 /tests/test-commit-sign.sh
parent5dba2442a112b0af70eafa0c3c33a4e58ee5bb76 (diff)
downloadostree-7b0e70b72fb1d7307a018a72dbf4a5c9bff9a235.tar.gz
tests: do not leave running httpd after tests exit
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'tests/test-commit-sign.sh')
-rwxr-xr-xtests/test-commit-sign.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh
index 516d6550..5e4baff6 100755
--- a/tests/test-commit-sign.sh
+++ b/tests/test-commit-sign.sh
@@ -51,7 +51,7 @@ cd ${test_tmpdir}
mkdir ${test_tmpdir}/httpd
cd httpd
ln -s ${test_tmpdir}/ostree-srv ostree
-ostree trivial-httpd --daemonize -p ${test_tmpdir}/httpd-port
+ostree trivial-httpd --autoexit --daemonize -p ${test_tmpdir}/httpd-port
port=$(cat ${test_tmpdir}/httpd-port)
echo "http://127.0.0.1:${port}" > ${test_tmpdir}/httpd-address
cd ${oldpwd}