[LTP] [PATCH] fs_racer: cleanup

Cui Bixuan cuibixuan@huawei.com
Wed Nov 23 13:00:50 CET 2016


Remove the DIR at the end of test

Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
---
 testcases/kernel/fs/racer/fs_racer.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/fs/racer/fs_racer.sh b/testcases/kernel/fs/racer/fs_racer.sh
index 5c4dc69..e7d5e4b 100755
--- a/testcases/kernel/fs/racer/fs_racer.sh
+++ b/testcases/kernel/fs/racer/fs_racer.sh
@@ -86,6 +86,7 @@ call_exit()
     killall fs_racer_file_symlink.sh
     killall fs_racer_file_list.sh
     killall fs_racer_file_concat.sh
+    rm -rf $DIR >/dev/null
     exit 0
 }
 
-- 
1.8.3.4



More information about the ltp mailing list