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: [EMAIL PROTECTED]
             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/



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to