Skip to content

Commit

Permalink
The coderef that kills the test redis-server returns true if it died
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information
melo committed Jan 22, 2013
1 parent 7839e81 commit a4e18f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/tlib/Test/SpawnRedisServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ sub spawn_server {
unlink("redis-server-$addr.log");
unlink('dump.rdb');
$alive = 0;

return !$failed;
};

return $version => $c;
Expand Down

0 comments on commit a4e18f4

Please sign in to comment.