mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-03 05:18:24 +03:00
tap-test: clean up temporary test directories as intended
The script created ./.testtmp but looked for ./.test, which isn't going to work. This means the various "ostree trivial-httpd --autoexit" processes actually exit, because their web roots are cleaned up now. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #232 Approved by: cgwalters
This commit is contained in:
parent
f8bef792cb
commit
47fd5c74f1
@ -13,7 +13,7 @@ touch ${tempdir}/.testtmp
|
|||||||
function cleanup () {
|
function cleanup () {
|
||||||
if test -n "${TEST_SKIP_CLEANUP:-}"; then
|
if test -n "${TEST_SKIP_CLEANUP:-}"; then
|
||||||
echo "Skipping cleanup of ${tempdir}"
|
echo "Skipping cleanup of ${tempdir}"
|
||||||
else if test -f ${tempdir}/.test; then
|
else if test -f ${tempdir}/.testtmp; then
|
||||||
rm "${tempdir}" -rf
|
rm "${tempdir}" -rf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user