os_test: use rmdir() to del dirs

pull/2986/head
BilligsterUser 2019-12-05 15:08:55 +01:00 committed by Alexander Medvednikov
parent 98374ea6fe
commit 0a38b307cd
1 changed files with 3 additions and 3 deletions

View File

@ -207,11 +207,11 @@ fn cleanup_leftovers(){
// possible leftovers from test_cp_r // possible leftovers from test_cp_r
os.rm('ex/ex2/ex2.txt') os.rm('ex/ex2/ex2.txt')
os.rm('ex/ex2') os.rmdir('ex/ex2')
os.rm('ex/ex1.txt') os.rm('ex/ex1.txt')
os.rm('ex') os.rmdir('ex')
os.rm('ex2/ex2.txt') os.rm('ex2/ex2.txt')
os.rm('ex2') os.rmdir('ex2')
os.rm('ex1.txt') os.rm('ex1.txt')
os.rm('ex2.txt') os.rm('ex2.txt')
} }