[sheepdog] [PATCH] test: allow more free style test description

Liu Yuan namei.unix at gmail.com
Fri Aug 24 04:31:58 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

23-25 doesn't begin with 'Test'. Instead of modifying it, we'd better allow more
free style description

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/check |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/check b/tests/check
index 8dfeb0c..8965be0 100755
--- a/tests/check
+++ b/tests/check
@@ -417,7 +417,7 @@ do
 	#
 	rm -f $seq.out.bad
 	lasttime=`sed -n -e "/^$seq /s/.* //p" <check.time`
-	description=`sed -n '3s/# Test/Test/p' $seq`
+	description=`sed -n '3s/^#//p' $seq`
 	if [ "X$lasttime" != X ]; then
 		echo -n " Last Used:${lasttime}s. $description"
 	else
-- 
1.7.10.2




More information about the sheepdog mailing list