+ touch -- foo bar baz 'space embedded' -q + git-add -- foo bar baz 'space embedded' -q + git-commit -m 'add normal files' Committing initial tree e5c556e46aae6124ff4a2a466c95004e92d9a2e4 + test_tabs=y + touch -- 'tab embedded' 'newline embedded' + git-add -- 'tab embedded' 'newline embedded' + git-commit -m 'add files with tabs and newlines' + : + chmod a-w . + rm -f test-file rm: cannot remove `test-file': Permission denied + test -f test-file + test_failed_remove=y + chmod 775 . + rm -f test-file + test y = y + chmod a-w . + test_expect_failure 'Test that "git-rm -f" fails if its rm fails' 'git-rm -f baz' + test 2 = 2 + say 'expecting failure: git-rm -f baz' + echo '* expecting failure: git-rm -f baz' + test_run_ 'git-rm -f baz' + eval 'git-rm -f baz' + eval_ret=0 + return 0 + '[' 0 = 0 -a 0 '!=' 0 ']' + test_failure_ 'Test that "git-rm -f" fails if its rm fails' 'git-rm -f baz' ++ expr 0 + 1 + test_count=1 ++ expr 0 + 1 + test_failure=1 + say 'FAIL 1: Test that "git-rm -f" fails if its rm fails' + echo '* FAIL 1: Test that "git-rm -f" fails if its rm fails' * FAIL 1: Test that "git-rm -f" fails if its rm fails + shift + echo 'git-rm -f baz' + sed -e 's/^/ /' git-rm -f baz + test '' = '' + chmod 775 . + test_done + trap - exit + case "$test_failure" in + say 'failed 1 among 1 test(s)' + echo '* failed 1 among 1 test(s)' * failed 1 among 1 test(s) + exit 1 kvaneesh@home:~/git-work/git.build/t$