automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] [ng] tests: fix a spurious failure


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] tests: fix a spurious failure
Date: Sat, 2 Jun 2012 15:25:56 +0200

* t/txinfo17.sh (texinfo.texi): Use "foobar", not "example", as the
argument of the @setfilename call, to ensure we don't get false
positives in the later grepping checks.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/txinfo17.sh |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/t/txinfo17.sh b/t/txinfo17.sh
index 1de7e9a..a1fc0ec 100755
--- a/t/txinfo17.sh
+++ b/t/txinfo17.sh
@@ -27,7 +27,7 @@ cat > texinfo.texi << 'END'
 @setfilename texinfo
 ...
 @verbatim
address@hidden example.info
address@hidden foobar.info
 @end verbatim
 ...
 END
@@ -35,5 +35,7 @@ END
 $ACLOCAL
 $AUTOMAKE --add-missing
 
-grep 'example' Makefile.in && Exit 1
+grep 'foobar' Makefile.in && Exit 1
 grep 'texinfo:' Makefile.in
+
+:
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]