From f5aab10ee4a70450634a766108389095298f45f8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 12 Feb 2014 22:36:02 +0400 Subject: [PATCH] Remove tmp after successful test run Directory tmp must be empty at that time. --- test/test_all | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_all b/test/test_all index a30174b..19b8323 100755 --- a/test/test_all +++ b/test/test_all @@ -20,4 +20,8 @@ for f in input/*.txt; do fi done +if [ "$RC" -eq 0 ]; then + rmdir tmp +fi + exit $RC -- 2.39.5