From eedd7fff3193f2e0b81841d873fbf199358f7e68 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 17 Nov 2009 08:46:29 +0100 Subject: [PATCH 1/1] 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. --- ChangeLog | 5 +++++ tests/test-xalloc-die.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1bfb249819..f535c53446 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-11-17 Jim Meyering + 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". diff --git a/tests/test-xalloc-die.sh b/tests/test-xalloc-die.sh index 53cdaeb3b9..b181ccbcef 100755 --- a/tests/test-xalloc-die.sh +++ b/tests/test-xalloc-die.sh @@ -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 -- 2.30.2