diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-12-01 21:41:44 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-01 21:41:44 +0900 |
commit | 623370493673d27c1994ea4394f123e4ed0a20bc (patch) | |
tree | e4b28b163845b752b0663de97ab3da8902990dce /t/t0001-init.sh | |
parent | Merge branch 'sg/test-cmp-rev' (diff) | |
parent | tests: send "bug in the test script" errors to the script's stderr (diff) | |
download | tgif-623370493673d27c1994ea4394f123e4ed0a20bc.tar.xz |
Merge branch 'sg/test-BUG'
test framework has been updated to make a bug in the test script
(as opposed to bugs in Git that are discovered by running the
tests) stand out more prominently.
* sg/test-BUG:
tests: send "bug in the test script" errors to the script's stderr
Diffstat (limited to 't/t0001-init.sh')
-rwxr-xr-x | t/t0001-init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh index 182da069f1..42a263cada 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -319,14 +319,14 @@ test_lazy_prereq GETCWD_IGNORES_PERMS ' base=GETCWD_TEST_BASE_DIR && mkdir -p $base/dir && chmod 100 $base || - error "bug in test script: cannot prepare $base" + BUG "cannot prepare $base" (cd $base/dir && /bin/pwd -P) status=$? chmod 700 $base && rm -rf $base || - error "bug in test script: cannot clean $base" + BUG "cannot clean $base" return $status ' |