Allan,
What system are you on (windows, linux, mac), and what version of the OS &
Git?
Also have a check on the https://public-inbox.org/git/?q= for any message on
the dit developers list that mentions that test.
My guess is you might be on an OS that doesn't support the +x permission
bit, but haven't managed to set the flag that ignores the tests in those
cases.
Philip
----- Original Message -----
From: "Allan Torres" <[email protected]>
To: "Git for human beings" <[email protected]>
Sent: Monday, December 11, 2017 3:03 PM
Subject: [git-users] compiled src git-2.9.5 - make test error
Hi Guys, I was wondering if anyone can help me determine and solve the
issue below.
Thanks for the help.
# make test
.. truncated..
** t3700-add.sh ***
ok 1 - Test of git add
ok 2 - Post-check that foo is in the index
ok 3 - Test that "git add -- -q" works
ok 4 - git add: Test that executable bit is not used if core.filemode=0
ok 5 - git add: filemode=0 should not get confused by symlink
ok 6 - git update-index --add: Test that executable bit is not used...
ok 7 - git add: filemode=0 should not get confused by symlink
ok 8 - git update-index --add: Test that executable bit is not used...
ok 9 - .gitignore test setup
ok 10 - .gitignore is honored
ok 11 - error out when attempting to add ignored ones without -f
ok 12 - error out when attempting to add ignored ones without -f
ok 13 - error out when attempting to add ignored ones but add others
ok 14 - add ignored ones with -f
ok 15 - add ignored ones with -f
ok 16 - add ignored ones with -f
ok 17 - .gitignore with subdirectory
ok 18 - check correct prefix detection
ok 19 - git add with filemode=0, symlinks=0, and unmerged entries
ok 20 - git add with filemode=0, symlinks=0 prefers stage 2 over stage 1
ok 21 - git add --refresh
ok 22 - git add --refresh with pathspec
ok 23 # skip git add should fail atomically upon an unreadable file
(missing SANITY of POSIXPERM,SANITY)
ok 24 # skip git add --ignore-errors (missing SANITY of POSIXPERM,SANITY)
ok 25 # skip git add (add.ignore-errors) (missing SANITY of
POSIXPERM,SANITY)
ok 26 # skip git add (add.ignore-errors = false) (missing SANITY of
POSIXPERM,SANITY)
ok 27 # skip --no-ignore-errors overrides config (missing SANITY of
POSIXPERM,SANITY)
ok 28 - git add 'fo\[ou\]bar' ignores foobar
ok 29 - git add to resolve conflicts on otherwise ignored path
ok 30 - "add non-existent" should fail
ok 31 - git add -A on empty repo does not error out
ok 32 - "git add ." in empty repo
ok 33 - git add --dry-run of existing changed file
ok 34 - git add --dry-run of non-existing file
ok 35 - git add --dry-run of an existing file output
ok 36 - git add --dry-run --ignore-missing of non-existing file
ok 37 - git add --dry-run --ignore-missing of non-existing file output
ok 38 - git add --chmod=+x stages a non-executable file with +x
not ok 39 - git add --chmod=-x stages an executable file with -x
#
# echo foo >xfoo1 &&
# chmod 755 xfoo1 &&
# git add --chmod=-x xfoo1 &&
# case "$(git ls-files --stage xfoo1)" in
# 100644" "*xfoo1) echo pass;;
# *) echo fail; git ls-files --stage xfoo1;
(exit 1);;
# esac
#
ok 40 - git add --chmod=+x with symlinks
# failed 1 among 40 test(s)
1..40
make[2]: *** [t3700-add.sh] Error 1
make[2]: Leaving directory `/root/git-2.9.5/t'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/root/git-2.9.5/t'
make: *** [test] Error 2
#
--
You received this message because you are subscribed to the Google Groups
"Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Git for
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.