Permalink
Browse files

The coderef that kills the test redis-server returns true if it died

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
melo committed Jan 22, 2013
1 parent 7839e81 commit a4e18f4a48fa567b096c152ffeec3c824eaa851a
Showing with 2 additions and 0 deletions.
  1. +2 −0 t/tlib/Test/SpawnRedisServer.pm
@@ -99,6 +99,8 @@ sub spawn_server {
unlink("redis-server-$addr.log");
unlink('dump.rdb');
$alive = 0;
+
+ return !$failed;
};
return $version => $c;

0 comments on commit a4e18f4

Please sign in to comment.