From 688fcbfdcb4462a63c52c74296857413cf8c25b2 Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Tue, 6 Nov 2012 21:40:18 -0500 Subject: [PATCH] LU-2283 test: fix sanity-quota test_18 test_18 should grep the watchdog message start from "sanity-quota test 18" instead of "test 18b", otherwise, the messages from other tests could be mis-processed. Signed-off-by: Niu Yawei Change-Id: Icf4c13cd5f602cbb1974fc3ca5d156c87398cd3e Reviewed-on: http://review.whamcloud.com/4484 Tested-by: Hudson Reviewed-by: Fan Yong Tested-by: Maloo Reviewed-by: Yu Jian Reviewed-by: Oleg Drokin --- lustre/tests/sanity-quota.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 3708dbb..d9d9a6e 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1505,7 +1505,7 @@ test_18() { # check if watchdog is triggered do_facet ost1 dmesg > $TMP/lustre-log-${TESTNAME}.log - local watchdog=$(awk '/test 18b/ {start = 1;} + local watchdog=$(awk '/sanity-quota test 18/ {start = 1;} /Service thread pid/ && /was inactive/ { if (start) { print; -- 1.8.3.1