automake-patches
[Top][All Lists]
Advanced

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

[PATCH 8/8] tests: fix spurious failure with Solaris /bin/sh


From: Stefano Lattarini
Subject: [PATCH 8/8] tests: fix spurious failure with Solaris /bin/sh
Date: Sun, 9 Oct 2011 10:53:04 +0200

* tests/dist-auxfile.test: Don't use redirected `:' in a loop,
it hits a bug in Solaris 10 /bin/sh.
---
 ChangeLog               |    6 ++++++
 tests/dist-auxfile.test |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a5eaaef..f294dad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-10-08  Stefano Lattarini  <address@hidden>
 
+       tests: fix spurious failure with Solaris /bin/sh
+       * tests/dist-auxfile.test: Don't use redirected `:' in a loop,
+       it hits a bug in Solaris 10 /bin/sh.
+
+2011-10-08  Stefano Lattarini  <address@hidden>
+
        threaded-am: better serialization for required config files
        With this change, we make serialization/de-serialization of
        required config files installs more granular, and in the process
diff --git a/tests/dist-auxfile.test b/tests/dist-auxfile.test
index 2776a25..6efd737 100755
--- a/tests/dist-auxfile.test
+++ b/tests/dist-auxfile.test
@@ -61,8 +61,8 @@ END
 END
 
   mkdir subdir
-  : > subdir/Makefile.am
-  
+  echo > subdir/Makefile.am # `echo', not `:', for Solaris /bin/sh.
+
   test -z "$auxdir" || mkdir "$auxdir" || Exit 99
 
   if test -z "$auxdir"; then
-- 
1.7.2.3




reply via email to

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