[Top][All Lists]

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

[bug #19969] rc-125.exp fails on some systems

From: James Youngman
Subject: [bug #19969] rc-125.exp fails on some systems
Date: Sat, 26 May 2007 10:34:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060830 Firefox/ (Debian-1.5.dfsg+


                 Summary: rc-125.exp fails on some systems
                 Project: findutils
            Submitted by: jay
            Submitted on: Saturday 05/26/2007 at 10:34
                Category: None
                Severity: 2 - Minor
              Item Group: Compilation Failure
                  Status: None
                 Privacy: Public
             Assigned to: jay
         Originator Name: Nelson H. F. Beebe
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None



The technique of using "kill $$" is unreliable.  For example,
on MacOS X, the child just exits with a nonzero status.
This works better but is harder to use in a DejaGnu test:
  yes | xargs -I{} echo | true
Part of the problem here of course is that the exit status of the
pipeline is the exit status of its last compinent.

The existing test is essentially 

echo 'kill $$' | xargs -n1 -IARG sh -c ARG

... but this causes xargs to return status 123 on some systems, including:

OpenBSD 3.9
Solaris 10 SPARC
Solaris 10 IA-32


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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