Subject: Re: [PATCH v2 3/4] git-p4: Fix t9815 git-p4-submit-fail test case on OS X

From: Torsten Bögershausen <[email-masked]>
Date: Mon, 5 Oct 2015 05:08:43 +0200

On 04.10.15 20:06, [email-masked] wrote:
> From: Lars Schneider <[email-masked]>
> 
> 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 I read in t1301-shared-repo.sh:

modebits () {
	ls -l "$1" | sed -e 's|^\(..........\).*|\1|'
}