threads / bug / 2289

[BUG] t4102-apply-rename.sh isn't umask aware

Subject: [BUG] t4102-apply-rename.sh isn't umask aware

## tl;dr

One message between Nov 1, 2005 and Nov 1, 2005.

replies: 0people: 1as markdown or json

Peter Baumann· Nov 1, 2005, 11:03 UTC · lore
xp:~/src/git/t rm -fR trash
xp:~/src/git/t umask
0027
xp:~/src/git/t ./t4102-apply-rename.sh
mv: cannot stat `.git/hooks': No such file or directory
*   ok 1: setup
*   ok 2: apply
* FAIL 3: validate
        test -f bar && ls -l bar | grep "^-..x..x..x"
* failed 1 among 3 test(s)
Setting umask to 0022  fixed the problem.
xp:~/src/git/t rm -fR trash
xp:~/src/git/t umask
0022
xp:~/src/git/t ./t4102-apply-rename.sh
mv: cannot stat `.git/hooks': No such file or directory
*   ok 1: setup
*   ok 2: apply
*   ok 3: validate
* passed all 3 test(s)
Regards
  Peter

← back to recent threads