]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests: avoid trashing /
authorEric Blake <eblake@redhat.com>
Mon, 30 Aug 2010 17:59:40 +0000 (11:59 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 30 Aug 2010 17:59:40 +0000 (11:59 -0600)
* tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
Use a relative path, rather than risking issues with /.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
tests/torture.at

index 7068a193054d3e2da1728dad18a233547eff8077..0c3e5d48eea757b3d9ee80d46b2753fe0e6ddf44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-30  Eric Blake  <eblake@redhat.com>
 
+       tests: avoid trashing /
+       * tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
+       Use a relative path, rather than risking issues with /.
+       Reported by Ralf Wildenhues.
+
        docs: mention Solaris here-docs vs. ${a-"b c"}
        * doc/autoconf.texi (Shell Substitutions) <${var:=value}>:
        Document problem of "" within here-docs.
index e395fc1a69121246f64b15fee8456ae36c0f3973..566a45134f7f61965c0057f825f1e19061f90965 100644 (file)
@@ -43,7 +43,7 @@ case $ACTION in
     ;;
   corrupt)
     echo "$tmp" > tmpdir
-    tmp=/nosuch
+    tmp=./nosuch
     ;;
   *) ;;
 esac