]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/test-lib.sh
t6030 (bisect): work around Mac OS X "ls"
[git.git] / t / test-lib.sh
index c0c5e0e83b01c1ede231a59a2a628e374de246da..11c027571b44c429b4f6fdca88bff9c3360c7545 100644 (file)
@@ -35,6 +35,7 @@ unset GIT_WORK_TREE
 unset GIT_EXTERNAL_DIFF
 unset GIT_INDEX_FILE
 unset GIT_OBJECT_DIRECTORY
+unset GIT_CEILING_DIRECTORIES
 unset SHA1_FILE_DIRECTORIES
 unset SHA1_FILE_DIRECTORY
 GIT_MERGE_VERBOSITY=5
@@ -378,7 +379,7 @@ test_external_without_stderr () {
 
 test_must_fail () {
        "$@"
-       test $? -gt 0 -a $? -le 129
+       test $? -gt 0 -a $? -le 129 -o $? -gt 192
 }
 
 # test_cmp is a helper function to compare actual and expected output.