From: SungHyun Nam <goweol@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <junkio@cox.net>, GIT <git@vger.kernel.org>
Subject: Re: GIT+CYGWIN annoying test failure
Date: Fri, 16 Feb 2007 09:04:14 +0900 [thread overview]
Message-ID: <45D4F4FE.3010405@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0702150236590.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Hello,
Johannes Schindelin wrote:
>
> On Thu, 15 Feb 2007, SungHyun Nam wrote:
>
>> check_result () {
>> + [ -r current ] && rm -f current
>> git-ls-files --stage | sed -e 's/ '"$_x40"' / X /' >current &&
>> diff -u expected current
>> }
>
> Are you having a restrictive umask, or what are the permissions on that
> file?
There's no problem with the umask.
$ umask
0022
I guess there is some race condition in CYGWIN or windows. And my system
triggers that condition.
Check the logic above. I cannot think there is any chance that 'rm -f
current && echo x >current' is success, but 'echo x >current' is fail?
Thanks,
namsh
next prev parent reply other threads:[~2007-02-16 0:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 2:18 GIT+CYGWIN annoying test failure SungHyun Nam
2007-01-24 9:53 ` Johannes Schindelin
2007-01-29 1:15 ` SungHyun Nam
2007-02-01 16:04 ` Johannes Schindelin
2007-02-02 0:10 ` SungHyun Nam
2007-02-15 0:55 ` SungHyun Nam
2007-02-15 1:37 ` Johannes Schindelin
2007-02-16 0:04 ` SungHyun Nam [this message]
2007-02-16 1:26 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D4F4FE.3010405@gmail.com \
--to=goweol@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).