Code

t1301-shared-repo.sh: fix 'stat' portability issue
authorArjen Laarhoven <arjen@yaph.org>
Thu, 16 Aug 2007 22:02:17 +0000 (00:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Aug 2007 22:32:46 +0000 (15:32 -0700)
commit19b28bf5454380f9f65063e8bc3cdee669e731a9
tree463fddb1e89621af7ce32d4327b5f50d9c84754c
parent13cc4c81df8f6b45540bd50ddffd3c11f98829bf
t1301-shared-repo.sh: fix 'stat' portability issue

The t1301-shared-repo.sh testscript uses /usr/bin/stat to get the file
mode, which isn't portable.  Implement the test in shell using 'ls' as
shown by Junio.

Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1301-shared-repo.sh