bug-findutils
[Top][All Lists]
Advanced

[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:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2)

URL:
  <http://savannah.gnu.org/bugs/?19969>

                 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

    _______________________________________________________

Details:

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:

  <http://savannah.gnu.org/bugs/?19969>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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