changeset 12304:0c16d46a6fff

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.
author Jim Meyering <meyering@redhat.com>
date Tue, 17 Nov 2009 08:46:29 +0100
parents 6dcb7b4b0713
children 2f51d61a26ea
files ChangeLog tests/test-xalloc-die.sh
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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".
--- a/tests/test-xalloc-die.sh
+++ b/tests/test-xalloc-die.sh
@@ -13,7 +13,7 @@
 fi
 
 tmpfiles="t-xalloc-die.tmp"
-PATH="$PATH:."
+PATH=".:$PATH"
 export PATH
 test-xalloc-die${EXEEXT} 2> t-xalloc-die.tmp
 case $? in