From 6acf55368a94e6ce5537b1f7018f26d2a499298a Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sat, 25 Jun 2016 23:57:01 +0200 Subject: [PATCH] Correct deletion of temporary directory --- test/test_python_cscripts.py | 2 +- test/test_python_ctools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_python_cscripts.py b/test/test_python_cscripts.py index 71c890f..bd8d68c 100755 --- a/test/test_python_cscripts.py +++ b/test/test_python_cscripts.py @@ -190,7 +190,7 @@ def test(installed=False, debug=False): # Remove temporary direction if installed: - os.system('rm -f %s' % (path)) + os.system('rm -rf %s' % (path)) # Exit with return code sys.exit(rc) diff --git a/test/test_python_ctools.py b/test/test_python_ctools.py index 6633e2b..92d6291 100755 --- a/test/test_python_ctools.py +++ b/test/test_python_ctools.py @@ -160,7 +160,7 @@ def test(installed=False): # Remove temporary direction if installed: - os.system('rm -f %s' % (path)) + os.system('rm -rf %s' % (path)) # Exit with return code sys.exit(rc) -- libgit2 0.21.4