bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sharutils-4.6.3 test failures


From: Paul Eggert
Subject: Re: sharutils-4.6.3 test failures
Date: Tue, 06 Jun 2006 22:49:49 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

It's a portability problem in tests/shar-3.  Solaris /bin/sh treats
"^" as an alias for "|".  (This doesn't conform to Posix.)  The
problem is documented in the Autoconf manual under Shell
Substitutions.  Here's a patch.  "make check" works for me on Solaris
8 after the patch is applied.

2006-06-06  Paul Eggert  <address@hidden>

        * tests/shar-3: Quote sed command, since it contains a ^,
        and Solaris /bin/sh treats unquoted ^ like |.  Problem
        reported by Nelson H. F. Beebe.

--- tests/shar-3~       2005-11-10 17:04:58.000000000 -0800
+++ tests/shar-3        2006-06-06 22:43:10.975690000 -0700
@@ -16,7 +16,7 @@ top_builddir=`cd ${top_builddir} ; pwd`
 
 cd ${top_builddir}
 find . -type f | \
-  sed s,^./,,  | \
+  sed 's,^./,,'  | \
   ${shar} -q ${opts}
 
 cd ${testdir}




reply via email to

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