-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Ken Moffat wrote:
> But how do we explain it in the text ?  "This test won't work when 
> run like this, so we make it succeed by doing nothing useful" might 
> raise a lot of questions about the point of testsuites in the minds 
> of some of our readers ;)

True -- how about:

One of the tests requires the ability to read the device file behind
stdin.  By default this file can't be read in the current environment,
since it's owned by another user.  Make the test use an alternate device
for its stdin, which is always readable:

That wording should be a bit less questionable.  Unfortunately there's
still an issue with why is the test trying to read the device when it
isn't always readable (if normal "read(0, ...);" works, why doesn't
"test -r <that device>"?), but maybe we can avoid that question.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtNvAS5vET1Wea5wRAys5AKDbvJonZEA0HJXvK9oF0OM7cUu8WgCgxYAy
w8JEONhMegkY09OXS7UBybg=
=PrQw
-----END PGP SIGNATURE-----
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to