-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Benoit Sigoure on 12/17/2007 1:04 AM: > > ./torture.at:241: ./config.status --file=-:input </dev/null >/dev/full > stderr: > /tmp/autoconf/tests/testsuite.dir/at-test-source: line 893: /dev/full: > Operation not supported > > This looks like a tpyo but I checked in the source and it's not, why not > use something like /nonexistent/whatever?
There's a different between a shell failure in being able to create the file (the tool under test isn't even run, because the shell errored out beforehand), and a write file when writing to an existing device that runs out of space. We really do want the latter, not the former. So the correct fix is to first check whether /dev/full exists and is writable, and if not, skip the test, before proceeding on with the attempt to redirect tool output into the full device. Coreutils and m4 head both have tests along those lines, which can be used as an example. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZnOZ84KuGfSFAYARAtP+AKC8vGyfptmZH7IO+76iDICvPMGJlQCgoyd1 2WyEmvxAp5RA7ykYhaAwMlg= =tMxV -----END PGP SIGNATURE-----
