GNU bug report logs - #16380
Failing tests on Solaris in 2.16

Previous Next

Package: grep;

Reported by: Dagobert Michelsen <dam <at> opencsw.org>

Date: Tue, 7 Jan 2014 08:31:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: Dagobert Michelsen <dam <at> opencsw.org>, 16380-done <16380 <at> debbugs.gnu.org>, Bug-gnulib <bug-gnulib <at> gnu.org>
Subject: bug#16380: Failing tests on Solaris in 2.16
Date: Tue, 07 Jan 2014 11:48:58 -0800
On 01/07/2014 11:37 AM, Jim Meyering wrote:
> Please be sure to propagate your
> init.sh change back to the master version in gnulib/tests.

Yeowch!  Thanks, I'd forgotten we'd stolen that from gnulib.
I pushed the following patch into gnulib.

---
 ChangeLog     | 8 ++++++++
 tests/init.sh | 1 +
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ff71c97..c4246aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-01-07  Paul Eggert  <eggert <at> cs.ucla.edu>
+
+    tests: simplify porting to Solaris 10 /bin/sh
+    Some test cases in 'grep' need a shell that groks '$(';
+    export re_shell_ for their benefit.  Problem reported for 'grep'
+    by Dagobert Michelsen in <http://bugs.gnu.org/16380>.
+    * tests/init.sh (re_shell_): Export if it's used.
+
 2014-01-06  Eric Blake  <eblake <at> redhat.com>
 
     md5, sha1, sha256, sha512: support older autoconf
diff --git a/tests/init.sh b/tests/init.sh
index b5c2e3f..e07c39c 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -201,6 +201,7 @@ else
       *x*) opts_=-x ;;
       *) opts_= ;;
     esac
+    export re_shell_
     exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
     echo "$ME_: exec failed" 1>&2
     exit 127
-- 
1.8.3.1






This bug report was last modified 11 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.