Commit 6acf55368a94e6ce5537b1f7018f26d2a499298a

Authored by Jürgen Knödlseder
1 parent fcd3dbe1

Correct deletion of temporary directory

test/test_python_cscripts.py
... ... @@ -190,7 +190,7 @@ def test(installed=False, debug=False):
190 190  
191 191 # Remove temporary direction
192 192 if installed:
193   - os.system('rm -f %s' % (path))
  193 + os.system('rm -rf %s' % (path))
194 194  
195 195 # Exit with return code
196 196 sys.exit(rc)
... ...
test/test_python_ctools.py
... ... @@ -160,7 +160,7 @@ def test(installed=False):
160 160  
161 161 # Remove temporary direction
162 162 if installed:
163   - os.system('rm -f %s' % (path))
  163 + os.system('rm -rf %s' % (path))
164 164  
165 165 # Exit with return code
166 166 sys.exit(rc)
... ...