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 <eblake@redhat.com>
This commit is contained in:
Eric Blake 2010-08-30 11:59:40 -06:00
parent 2626155d5c
commit 35b14d5e35
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -43,7 +43,7 @@ case $ACTION in
;;
corrupt)
echo "$tmp" > tmpdir
tmp=/nosuch
tmp=./nosuch
;;
*) ;;
esac