From 35b14d5e356df7bbec5d748381805eebd09e0c9b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 30 Aug 2010 11:59:40 -0600 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ tests/torture.at | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7068a1930..0c3e5d48e 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 e395fc1a6..566a45134 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 -- 2.47.3