test-chmtime: Fix exit code on Windows
authorJohannes Sixt <redacted>
Sat, 1 Jun 2013 09:34:20 +0000 (11:34 +0200)
committerJunio C Hamano <redacted>
Sun, 2 Jun 2013 23:23:35 +0000 (16:23 -0700)
commit926e89441fb735bc4ed7d10713a8cd3d3dc44b49
tree72e298f7274617caa0e80fbdcfcce93bd56b04ae
parentedca4152560522a431a51fc0a06147fc680b5b18
test-chmtime: Fix exit code on Windows

MinGW's bash does not recognize an exit code -1 as failure. See also
47e3de0e (MinGW: truncate exit()'s argument to lowest 8 bits) and 2488df84
(builtin run_command: do not exit with -1). Exit code 1 is good enough.

Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
test-chmtime.c
git clone https://git.99rst.org/PROJECT