tests: don't allow `$me' to be overridden from the environment
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Apr 2011 22:29:19 +0000 (00:29 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 19 Apr 2011 20:36:34 +0000 (22:36 +0200)
commit9b5a8552fec112499a527a8af8577a9b76144435
tree7d8619cec46e69fa88c5271c15ae78357ed0ae96
parent3b64c7d208952e94c4b6a317cf34e5e650e77fe6
tests: don't allow `$me' to be overridden from the environment

* tests/defs.in: Sanity check: abort if $me is in the environment.
* tests/self-check-me-in-env.test: New test.
* tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
(TESTS): Update.

Suggestion by Ralf Wildenhues.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/defs.in
tests/self-check-me-in-env.test [new file with mode: 0755]