From 8439962b45a46830cf281ca2c4044b8f3f08f5f9 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Mon, 19 Dec 2011 10:44:36 -0700 Subject: [PATCH] Make tests more flexible. --- t/lib/bash/collect.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/lib/bash/collect.sh b/t/lib/bash/collect.sh index ad059e29..9d9249fa 100644 --- a/t/lib/bash/collect.sh +++ b/t/lib/bash/collect.sh @@ -62,11 +62,11 @@ cmd_ok \ "lsof" cmd_ok \ - "grep -q 'buf/buf0buf.c' $p-mutex-status1" \ + "grep -q 'buf0buf.c' $p-mutex-status1" \ "mutex-status1" cmd_ok \ - "grep -q 'buf/buf0buf.c' $p-mutex-status2" \ + "grep -q 'buf0buf.c' $p-mutex-status2" \ "mutex-status2" cmd_ok \ @@ -90,7 +90,7 @@ cmd_ok \ "ps" cmd_ok \ - "grep -qP '^warning_count\t\d' $p-variables" \ + "grep -qP '^wait_timeout\t\d' $p-variables" \ "variables" local iters=$(cat $p-df | grep -c '^TS ')