From 17c4b058fde09ee39d002b4fe075ad8bda22c689 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sat, 25 Jun 2016 10:20:15 +0200 Subject: [PATCH] Remove temporary directory --- test/test_python_cscripts.py | 4 ++++ test/test_python_ctools.py | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/test/test_python_cscripts.py b/test/test_python_cscripts.py index af6dbc3..09eea3a 100755 --- a/test/test_python_cscripts.py +++ b/test/test_python_cscripts.py @@ -188,6 +188,10 @@ def test(installed=False, debug=False): else: rc = 1 + # Remove temporary direction + if installed: + os.rmdir(path) + # Exit with return code sys.exit(rc) diff --git a/test/test_python_ctools.py b/test/test_python_ctools.py index 67cf118..db05434 100755 --- a/test/test_python_ctools.py +++ b/test/test_python_ctools.py @@ -158,6 +158,10 @@ def test(installed=False): else: rc = 1 + # Remove temporary direction + if installed: + os.rmdir(path) + # Exit with return code sys.exit(rc) -- libgit2 0.21.4