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

From: Peter Baumann <hidden>
Date: 2016-06-15 22:42:10

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help