automake-patches
[Top][All Lists]
Advanced

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

Relax silent8.test for NetBSD make.


From: Ralf Wildenhues
Subject: Relax silent8.test for NetBSD make.
Date: Sun, 23 May 2010 14:34:50 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

Another spurious testsuite failure with NetBSD make.
Committed to master.

Cheers,
Ralf

    Relax silent8.test for NetBSD make.
    
    * tests/silent8.test: Accept ./foo.info in output as well.

diff --git a/tests/silent8.test b/tests/silent8.test
index 2546775..6833840 100755
--- a/tests/silent8.test
+++ b/tests/silent8.test
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2009  Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -50,7 +50,8 @@ $MAKE V=0 dvi html info ps pdf >stdout || { cat stdout; Exit 
1; }
 cat stdout
 grep 'DVIPS    foo.ps' stdout || Exit 1
 grep 'MAKEINFO foo.html' stdout || Exit 1
-grep 'MAKEINFO foo.info' stdout || Exit 1
+# NetBSD make will print `./foo.info' instead of `foo.info'.
+grep 'MAKEINFO.*foo.info' stdout || Exit 1
 grep 'TEXI2DVI foo.dvi' stdout || Exit 1
 grep 'TEXI2PDF foo.pdf' stdout || Exit 1
 
@@ -59,7 +60,7 @@ $MAKE clean || Exit 1
 $MAKE V=1 dvi html info ps pdf >stdout || { cat stdout; Exit 1; }
 grep 'DVIPS    foo.ps' stdout && Exit 1
 grep 'MAKEINFO foo.html' stdout && Exit 1
-grep 'MAKEINFO foo.info' stdout && Exit 1
+grep 'MAKEINFO.*foo.info' stdout && Exit 1
 grep 'TEXI2DVI foo.dvi' stdout && Exit 1
 grep 'TEXI2PDF foo.pdf' stdout && Exit 1
 



reply via email to

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