Re: 1.5.3-rc5 regression on OS X?
From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:43:29
quoted
quoted
quoted
quoted
"Perrin" == Perrin Meyer [off-list ref] writes:
Perrin> Hi,
Perrin> When I try to build and test 1.5.3-rc5 on my OS X box, I get a failure on "make test"
My t1000 test succeeded on modern OSX. But "t1301-shared-repo" failed:
*** t1301-shared-repo.sh ***
* FAIL 1: shared=all
mkdir sub &&
cd sub &&
git init --shared=all &&
test 2 = $(git config core.sharedrepository)
* FAIL 2: update-server-info honors core.sharedRepository
: > a1 &&
git add a1 &&
test_tick &&
git commit -m a1 &&
umask 0277 &&
git update-server-info &&
test 444 = $(stat -c %a .git/info/refs)
* failed 2 among 2 test(s)
make[1]: *** [t1301-shared-repo.sh] Error 1
This is on 1467b5fec376b6c43a5fa54bffd356e458a8d57c.
Oh... I notice "stat -c" there. My stat doesn't know -c:
localhost.local:~/MIRROR/git-GIT % stat -c %a /
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
Gotta stop using those non-portable options, I guess. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[off-list ref] <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!