]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: rm -fr /tmp/*virtualenv* 9403/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 20 May 2016 11:19:07 +0000 (13:19 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 31 May 2016 09:47:19 +0000 (11:47 +0200)
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 8f0eefba00d1c6ad656302a608217fc3395d0401)

run-make-check.sh

index 887ab24debf2684eb38732123ac303fa734f4e0d..b15afd67bbc533199f3698d7df80be0543a017e2 100755 (executable)
@@ -76,8 +76,10 @@ function run() {
 function main() {
     if run "$@" ; then
         echo "make check: successful run on $(git rev-parse HEAD)"
+        rm -fr ${CEPH_BUILD_VIRTUALENV:-/tmp}/*virtualenv*
         return 0
     else
+        rm -fr ${CEPH_BUILD_VIRTUALENV:-/tmp}/*virtualenv*
         return 1
     fi
 }