[exim-cvs] Tests: Don't delete patched exim if -KEEP is used

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Tests: Don't delete patched exim if -KEEP is used
Gitweb: http://git.exim.org/exim.git/commitdiff/b3e39dd7f0113be4aeeab16dbe18b9eef8c1caad
Commit:     b3e39dd7f0113be4aeeab16dbe18b9eef8c1caad
Parent:     3d41333d24cf553a5a23a9522586b4f44d859416
Author:     Todd Lyons <tlyons@???>
AuthorDate: Sat Oct 19 07:17:36 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Sat Oct 19 07:17:36 2013 -0700


    Tests: Don't delete patched exim if -KEEP is used
---
 test/runtest |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/test/runtest b/test/runtest
index 27fe371..443d7fc 100755
--- a/test/runtest
+++ b/test/runtest
@@ -193,7 +193,8 @@ close(T);
system("sudo /bin/rm -rf ./spool test-* ./dnszones/*")
if ($rc == 0 && !$save_output);

-system("sudo /bin/rm -rf ./eximdir/*");
+system("sudo /bin/rm -rf ./eximdir/*")
+ if (!$save_output);

print "\nYou were in test $test at the end there.\n\n" if defined $test;
exit $rc if ($rc >= 0);