diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-06-14 04:33:29 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-14 04:33:29 (GMT) |
commit | 2019256717d70bcfa1c6cd3869cfdc02310adb7a (patch) | |
tree | a354a9651be896d3b088356b0a73fb280fb14df8 /t/t4006-diff-mode.sh | |
parent | c189dba20e6d94e4408bcc6ad298f0c157f05b43 (diff) | |
parent | f0d4d398e281009bc5e34d830b37c0c1df2fb8a8 (diff) | |
download | git-2019256717d70bcfa1c6cd3869cfdc02310adb7a.zip git-2019256717d70bcfa1c6cd3869cfdc02310adb7a.tar.gz git-2019256717d70bcfa1c6cd3869cfdc02310adb7a.tar.bz2 |
Merge branch 'ab/test-lib-updates'
Test clean-up.
* ab/test-lib-updates:
test-lib: split up and deprecate test_create_repo()
test-lib: do not show advice about init.defaultBranch under --verbose
test-lib: reformat argument list in test_create_repo()
submodule tests: use symbolic-ref --short to discover branch name
test-lib functions: add --printf option to test_commit
describe tests: convert setup to use test_commit
test-lib functions: add an --annotated option to "test_commit"
test-lib-functions: document test_commit --no-tag
test-lib-functions: reword "test_commit --append" docs
test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variable
test-lib: bring $remove_trash out of retirement
Diffstat (limited to 't/t4006-diff-mode.sh')
-rwxr-xr-x | t/t4006-diff-mode.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index 275ce5f..6cdee2a 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -26,10 +26,8 @@ test_expect_success 'chmod' ' ' test_expect_success 'prepare binary file' ' - git commit -m rezrov && - printf "\00\01\02\03\04\05\06" >binbin && - git add binbin && - git commit -m binbin + git commit -m one && + test_commit --printf two binbin "\00\01\02\03\04\05\06" ' test_expect_success '--stat output after text chmod' ' |