diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-06 06:50:23 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-06 06:50:23 (GMT) |
commit | 67f673aa4a580b9e407b1ca505abf1f50510ec47 (patch) | |
tree | b1865d58f54ce8fb88525f038bb56d46b8d66bc8 /t/test-lib.sh | |
parent | 6b37389f8569780a0fffcb072047aa3e0e376945 (diff) | |
parent | a5f52c6dab2337c8feae2a733e81a64e0605b113 (diff) | |
download | git-67f673aa4a580b9e407b1ca505abf1f50510ec47.zip git-67f673aa4a580b9e407b1ca505abf1f50510ec47.tar.gz git-67f673aa4a580b9e407b1ca505abf1f50510ec47.tar.bz2 |
Merge branch 'sg/test-verbose-log'
Our test scripts can now take the '-V' option as a synonym for the
'--verbose-log' option.
* sg/test-verbose-log:
test-lib: introduce the '-V' short option for '--verbose-log'
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 897e6fc..47a99aa 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -67,7 +67,7 @@ case "$GIT_TEST_TEE_STARTED, $* " in done,*) # do not redirect again ;; -*' --tee '*|*' --va'*|*' --verbose-log '*) +*' --tee '*|*' --va'*|*' -V '*|*' --verbose-log '*) mkdir -p "$TEST_OUTPUT_DIRECTORY/test-results" BASE="$TEST_OUTPUT_DIRECTORY/test-results/$(basename "$0" .sh)" @@ -316,7 +316,7 @@ do echo >&2 "warning: ignoring -x; '$0' is untraceable without BASH_XTRACEFD" fi shift ;; - --verbose-log) + -V|--verbose-log) verbose_log=t shift ;; *) |