Re: GIT+CYGWIN annoying test failure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: SungHyun Nam
Date: Wednesday, February 14, 2007 - 5:55 pm

Hello,

It seems the patch below work-around the problem.
I tested this patch several times after knowing the problem.

Thanks,
namsh

diff --git a/t/t1000-read-tree-m-3way.sh b/t/t1000-read-tree-m-3way.sh
index d0af8c3..422922e 100755
--- a/t/t1000-read-tree-m-3way.sh
+++ b/t/t1000-read-tree-m-3way.sh
@@ -130,6 +130,7 @@ _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
 _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"

 check_result () {
+    [ -r current ] && rm -f current
     git-ls-files --stage | sed -e 's/ '"$_x40"' / X /' >current &&
     diff -u expected current
 }


SungHyun Nam wrote:




-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GIT+CYGWIN annoying test failure, SungHyun Nam, (Tue Jan 23, 7:18 pm)
Re: GIT+CYGWIN annoying test failure, Johannes Schindelin, (Wed Jan 24, 2:53 am)
Re: GIT+CYGWIN annoying test failure, SungHyun Nam, (Sun Jan 28, 6:15 pm)
Re: GIT+CYGWIN annoying test failure, Johannes Schindelin, (Thu Feb 1, 9:04 am)
Re: GIT+CYGWIN annoying test failure, SungHyun Nam, (Thu Feb 1, 5:10 pm)
Re: GIT+CYGWIN annoying test failure, SungHyun Nam, (Wed Feb 14, 5:55 pm)
Re: GIT+CYGWIN annoying test failure, Johannes Schindelin, (Wed Feb 14, 6:37 pm)
Re: GIT+CYGWIN annoying test failure, SungHyun Nam, (Thu Feb 15, 5:04 pm)
Re: GIT+CYGWIN annoying test failure, Junio C Hamano, (Thu Feb 15, 6:26 pm)