On 04.10.15 20:06, larsxschnei...@gmail.com wrote:
> From: Lars Schneider
>
> The stats command works differently on OS X compared to Linux. Detect
> OS X and execute the appropriate assertions.
>
Is there a special need to use the stat() function at all ?
That's what
larsxschnei...@gmail.com writes:
> + if test_have_prereq CYGWIN; then
> + : # NOOP
> + elif test_have_prereq DARWIN; then
> + stat -f %Sp text | egrep ^-r-- &&
> + stat -f %Sp text+x | egrep ^-r-x
> +
larsxschnei...@gmail.com wrote on Sun, 04 Oct 2015 11:44 -0700:
>
> On 04 Oct 2015, at 11:23, Junio C Hamano wrote:
>
> > larsxschnei...@gmail.com writes:
> >
> >> + if test_have_prereq CYGWIN; then
> >> + : # NOOP
> >> + elif
On 04 Oct 2015, at 11:23, Junio C Hamano wrote:
> larsxschnei...@gmail.com writes:
>
>> +if test_have_prereq CYGWIN; then
>> +: # NOOP
>> +elif test_have_prereq DARWIN; then
>> +stat -f %Sp text | egrep ^-r-- &&
From: Lars Schneider
The stats command works differently on OS X compared to Linux. Detect
OS X and execute the appropriate assertions.
Signed-off-by: Lars Schneider
---
t/t9815-git-p4-submit-fail.sh | 8 ++--
1 file changed, 6
5 matches
Mail list logo