[ostree: 20/70] tap-test: clean up temporary test directories as intended



commit 47fd5c74f1428d4cc02ff0061a4958c4b714e852
Author: Simon McVittie <smcv debian org>
Date:   Thu Mar 31 08:24:56 2016 +0100

    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

 buildutil/tap-test |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/buildutil/tap-test b/buildutil/tap-test
index e791454..6b2eb5c 100755
--- a/buildutil/tap-test
+++ b/buildutil/tap-test
@@ -13,7 +13,7 @@ touch ${tempdir}/.testtmp
 function cleanup () {
     if test -n "${TEST_SKIP_CLEANUP:-}"; then
        echo "Skipping cleanup of ${tempdir}"
-    else if test -f ${tempdir}/.test; then
+    else if test -f ${tempdir}/.testtmp; then
        rm "${tempdir}" -rf
     fi
     fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]