Tests: Don't delete patched exim if -KEEP is used
[exim.git] / 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);