From 030320352dce16d56ad92c679a9ab08797a89a19 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 16 Apr 2010 02:16:37 +0200 Subject: [PATCH] Bugfix test.sh: detecting literally defined output --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index 2b239ebed..77eae39e7 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -214,7 +214,7 @@ function compare_template() # template plainfile 'literal:') if [[ "$line" = "$arg" ]]; then IFS='' read -u 3 -r template && IFS='' read -u 4 -r line || { - return 1 + return 0 } else echo -e "'$line':$lineno\ndoes not match\n$template:$templateno"