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 27fe371..443d7fc 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);