diff --git a/rts.tests/supervise-downtime.sh b/rts.tests/supervise-downtime.sh index e3b5af7..de7fde4 100644 --- a/rts.tests/supervise-downtime.sh +++ b/rts.tests/supervise-downtime.sh @@ -20,8 +20,8 @@ svpid=$! waitok test.sv svstat test.sv \ -| sed -r 's, \(.+\),,' \ -| sed -r 's, ([0-9]|1[0-9]) second.+$, ok,' +| sed 's, (..*),,' \ +| sed 's! 1\{0,1\}[0-9] second..*$! ok!' kill $svpid wait