From: Pieter Noordhuis Date: Wed, 2 Jun 2010 22:25:32 +0000 (+0200) Subject: make sure the config it returned when called without code X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/f6fa411d6cffd59155f8afbacad8c17db74d100d make sure the config it returned when called without code --- diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 551e24d1..07e5e8ad 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -236,11 +236,10 @@ proc start_server {options {code undefined}} { exit 1 } + set ::tags [lrange $::tags 0 end-[llength $tags]] kill_server $srv } else { + set ::tags [lrange $::tags 0 end-[llength $tags]] set _ $srv } - - # remove tags - set ::tags [lrange $::tags 0 end-[llength $tags]] }