Tests: Don't delete patched exim if -KEEP is used
authorTodd Lyons <tlyons@exim.org>
Sat, 19 Oct 2013 14:17:36 +0000 (07:17 -0700)
committerTodd Lyons <tlyons@exim.org>
Sat, 19 Oct 2013 14:17:36 +0000 (07:17 -0700)
test/runtest

index 27fe3719978383380caebf8f6bc497f090f9ff40..443d7fcf479e4c2d8a0a7c91ca76507e7ffa4032 100755 (executable)
@@ -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);