test-xalloc-die.sh: fix a portability bug
authorJim Meyering <meyering@redhat.com>
Tue, 17 Nov 2009 07:42:58 +0000 (08:42 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Nov 2009 07:42:58 +0000 (08:42 +0100)
commit67bcb9c5ab3c175704db5cd355768b68aa83cb23
tree9aecbdb2a9ed145d5f0a5d1a749104f84fc6b177
parent7e52ced3f761101e8e6ba0177d8f2ee3ef8a7fe0
test-xalloc-die.sh: fix a portability bug

* tests/test-xalloc-die.sh: Do not invoke via ./test-xalloc-die.
Instead, set PATH to start with "." and invoke via "test-xalloc-die".
Otherwise, argv[0] (as often seen in diagnostics) would be too
system-dependent, sometimes with, and sometimes without the leading "./".
ChangeLog
tests/test-xalloc-die.sh