]> git.phdru.name Git - mimedecode.git/commitdiff
Remove tmp after successful test run
authorOleg Broytman <phd@phdru.name>
Wed, 12 Feb 2014 18:36:02 +0000 (22:36 +0400)
committerOleg Broytman <phd@phdru.name>
Wed, 12 Feb 2014 18:36:02 +0000 (22:36 +0400)
Directory tmp must be empty at that time.

test/test_all

index a30174b897062e6218cf5ac0c351724db26fdd10..19b8323630b0f12b734eb233419f1ada3b89bb84 100755 (executable)
@@ -20,4 +20,8 @@ for f in input/*.txt; do
    fi
 done
 
+if [ "$RC" -eq 0 ]; then
+   rmdir tmp
+fi
+
 exit $RC