mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-11 13:51:04 +08:00
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Before using /dev/full, check that it is a writable character special device. Report by Benoit Sigoure and Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
ad236d83f7
commit
8b318e8487
@ -1,5 +1,10 @@
|
||||
2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
|
||||
Before using /dev/full, check that it is a writable character
|
||||
special device.
|
||||
Report by Benoit Sigoure and Eric Blake.
|
||||
|
||||
Actually test that @configure_input@ is expanded correctly.
|
||||
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
|
||||
Actually check generated file contents for the name of the
|
||||
|
@ -239,8 +239,10 @@ AT_CHECK([echo from-stdin | ./config.status --file=file:-],
|
||||
AT_CHECK([grep from-stdin file], [], [from-stdin
|
||||
])
|
||||
# Force write error creating a file on stdout
|
||||
AT_CHECK([./config.status --file=-:input </dev/null >/dev/full],
|
||||
[1], [ignore], [ignore])
|
||||
if test -w /dev/full && test -c /dev/full; then
|
||||
AT_CHECK([./config.status --file=-:input </dev/null >/dev/full],
|
||||
[1], [ignore], [ignore])
|
||||
fi
|
||||
|
||||
# Create a header
|
||||
AT_CHECK_CONFIG_CREATION_NOWRITE(header)
|
||||
@ -250,8 +252,10 @@ AT_CHECK([./config.status --header=-:input </dev/null],
|
||||
AT_CHECK([grep OK stdout], [], [OK
|
||||
])
|
||||
# Force write error creating a header on stdout
|
||||
AT_CHECK([./config.status --header=-:input </dev/null >/dev/full],
|
||||
[1], [ignore], [ignore])
|
||||
if test -w /dev/full && test -c /dev/full; then
|
||||
AT_CHECK([./config.status --header=-:input </dev/null >/dev/full],
|
||||
[1], [ignore], [ignore])
|
||||
fi
|
||||
|
||||
# Execute a command
|
||||
AT_CHECK_CONFIG_CREATION_NOWRITE(command)
|
||||
|
Loading…
Reference in New Issue
Block a user