This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix nptl/tst-cancel7 for non-bash shells


From: Roland McGrath <roland@hack.frob.com>
Date: Thu, 25 Oct 2012 15:00:33 -0700 (PDT)

> The test is of the system function in libc, not of the entire system
> including /bin/sh.  So a change that makes it less sensitive to the
> vagaries of whatever /bin/sh might do is a good change.  Testing the
> behavior of shells is a worthwhile thing to do of course, but it's outside
> the scope of libc tests.

However, the proper functioning of system("") is deeply dependent upon
how /bin/sh implements things.

The testsuite very much should show that the /bin/sh it ends up using
doesn't provide the necessary functionality, or provides it
incorrectly.

Or are you saying that it is better to find this out after libc has
installed and applications fail mysteriously instead?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]