From: Eric Blake Date: Mon, 30 Aug 2010 17:59:40 +0000 (-0600) Subject: tests: avoid trashing / X-Git-Tag: v2.68~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b14d5e356df7bbec5d748381805eebd09e0c9b;p=thirdparty%2Fautoconf.git 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. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 7068a193..0c3e5d48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-30 Eric Blake + 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. diff --git a/tests/torture.at b/tests/torture.at index e395fc1a..566a4513 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -43,7 +43,7 @@ case $ACTION in ;; corrupt) echo "$tmp" > tmpdir - tmp=/nosuch + tmp=./nosuch ;; *) ;; esac