From ce58ff50a452996ee296faa7ce09882994f4fe1a Mon Sep 17 00:00:00 2001 From: Stepan Kasal Date: Wed, 23 Jul 2003 05:15:51 +0000 Subject: fixed messages --- tests/backref.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/backref.sh b/tests/backref.sh index 83f6dcc9..cc1632d1 100755 --- a/tests/backref.sh +++ b/tests/backref.sh @@ -1,6 +1,5 @@ #!/bin/sh -# Test that backrefs are local to regex. -# +# Test for backreferences and other things. # : ${srcdir=.} @@ -10,7 +9,7 @@ failures=0 # checking for a palindrome echo "radar" | ${GREP} -e '\(.\)\(.\).\2\1' > /dev/null 2>&1 if test $? -ne 0 ; then - echo "backref: palindrome, test \#1 failed" + echo "Backref: palindrome, test \#1 failed" failures=1 fi @@ -24,14 +23,14 @@ fi # backref are local should be error echo "123" | ${GREP} -e 'a\(.\)' -e 'b\1' > /dev/null 2>&1 if test $? -ne 2 ; then - echo "Options: Backref not local, test \#3 failed" + echo "Backref: Backref not local, test \#3 failed" failures=1 fi -# Pattern should faile +# Pattern should fail echo "123" | ${GREP} -e '[' -e ']' > /dev/null 2>&1 if test $? -ne 2 ; then - echo "Options: Compiled not local, test \#3 failed" + echo "Backref: Compiled not local, test \#3 failed" failures=1 fi -- cgit v1.2.1