test-xalloc-die.sh: make the code agree with the commit log
authorJim Meyering <meyering@redhat.com>
Tue, 17 Nov 2009 07:46:29 +0000 (08:46 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Nov 2009 07:46:29 +0000 (08:46 +0100)
* tests/test-xalloc-die.sh: Put "." at the front of $PATH, not
at the end, just in case you happen to have a test-xalloc-die
program in some other PATH directory.

ChangeLog
tests/test-xalloc-die.sh

index 1bfb249..f535c53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-11-17  Jim Meyering  <meyering@redhat.com>
 
+       test-xalloc-die.sh: make the code agree with the commit log
+       * tests/test-xalloc-die.sh: Put "." at the front of $PATH, not
+       at the end, just in case you happen to have a test-xalloc-die
+       program in some other PATH directory.
+
        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".
index 53cdaeb..b181ccb 100755 (executable)
@@ -13,7 +13,7 @@ else
 fi
 
 tmpfiles="t-xalloc-die.tmp"
-PATH="$PATH:."
+PATH=".:$PATH"
 export PATH
 test-xalloc-die${EXEEXT} 2> t-xalloc-die.tmp
 case $? in