From: Torsten Bögershausen Date: Mon, 05 Oct 2015 03:08:43 GMT Subject: Re: [PATCH v2 3/4] git-p4: Fix t9815 git-p4-submit-fail test case on OS X Message-ID: <5611E9BB.5070000@web.de> In-Reply-To: <1443981977-64604-4-git-send-email-larsxschneider@gmail.com> On 04.10.15 20:06, larsxschneider@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 I read in t1301-shared-repo.sh: modebits () { ls -l "$1" | sed -e 's|^\(..........\).*|\1|' }