From 899460f336254a128602b86ca48433a983dced72 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 9 Oct 2005 21:58:02 -0700 Subject: Also force LC_ALL in test scripts. Noticed by Junichi Uekawa. Signed-off-by: Junio C Hamano --- t/test-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/test-lib.sh b/t/test-lib.sh index 1523d2ebbf..3f8a6fe414 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -5,9 +5,10 @@ # For repeatability, reset the environment to known value. LANG=C +LC_ALL=C PAGER=cat TZ=UTC -export LANG PAGER TZ +export LANG LC_ALL PAGER TZ unset AUTHOR_DATE unset AUTHOR_EMAIL unset AUTHOR_NAME -- cgit v1.2.3 From 18e410f1eaaf8e3e82dca9f124782b099ead7612 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 10 Oct 2005 14:14:22 -0700 Subject: t5400-send-pack relies on a working cpio Since cygwin does not install cpio by default, t5400 results in a very cryptic failure. So, test for cpio explicitely. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- t/t5400-send-pack.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh index 1a4d2f2f13..7fc3bd7d3e 100755 --- a/t/t5400-send-pack.sh +++ b/t/t5400-send-pack.sh @@ -8,6 +8,9 @@ test_description='See why rewinding head breaks send-pack ' . ./test-lib.sh +touch cpio-test +test_expect_success 'working cpio' 'echo cpio-test | cpio -o > /dev/null' + cnt='1' test_expect_success setup ' tree=$(git-write-tree) && -- cgit v1.2.3