[PATCH] testsuite: cleanup result files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When a test succeed, remove all temporary/result files
but leave them for failed tests.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 validation/test-suite | 1 +
 1 file changed, 1 insertion(+)

diff --git a/validation/test-suite b/validation/test-suite
index a5f5e25e2..904a2dbbd 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -270,6 +270,7 @@ do_test()
 		ko_tests=`expr $ko_tests + 1`
 	else
 		ok_tests=`expr $ok_tests + 1`
+		rm -f $file.{error,output}.{expected,got,diff}
 	fi
 	return $test_failed
 }
-- 
2.12.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux