test-chmtime: Fix exit code on Windows
commit926e89441fb735bc4ed7d10713a8cd3d3dc44b49
authorJohannes Sixt <j6t@kdbg.org>
Sat, 1 Jun 2013 09:34:20 +0000 (1 11:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Jun 2013 23:23:35 +0000 (2 16:23 -0700)
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 <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test-chmtime.c