autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-368


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-368-g8b318e8
Date: Sun, 02 Mar 2008 13:15:58 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=8b318e84872dda945032dc95ac38aebb77be2807

The branch, master has been updated
       via  8b318e84872dda945032dc95ac38aebb77be2807 (commit)
      from  ad236d83f72dfd9a928a52ac03ddb85145560ae7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8b318e84872dda945032dc95ac38aebb77be2807
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Mar 2 14:14:44 2008 +0100

    * 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 <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 tests/torture.at |   12 ++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4ff1a7c..199d5fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-03-02  Ralf Wildenhues  <address@hidden>
 
+       * 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
diff --git a/tests/torture.at b/tests/torture.at
index ec86e22..58785ae 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -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)


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]