diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 07:44:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-27 15:45:47 (GMT) |
commit | 0e496492d26a8f7f360b6fad1aed2cae74403fa1 (patch) | |
tree | 8e46a524080c7a49b19b603932d1a3f833ad08e2 /t/t7508-status.sh | |
parent | efd71f8913a876a0c333fa29382530d6abbc6164 (diff) | |
download | git-0e496492d26a8f7f360b6fad1aed2cae74403fa1.zip git-0e496492d26a8f7f360b6fad1aed2cae74403fa1.tar.gz git-0e496492d26a8f7f360b6fad1aed2cae74403fa1.tar.bz2 |
t/helper: merge test-chmtime into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7508-status.sh')
-rwxr-xr-x | t/t7508-status.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7508-status.sh b/t/t7508-status.sh index 50052e2..7afadb1 100755 --- a/t/t7508-status.sh +++ b/t/t7508-status.sh @@ -1672,12 +1672,12 @@ test_expect_success '"Initial commit" should not be noted in commit template' ' ' test_expect_success '--no-optional-locks prevents index update' ' - test-chmtime =1234567890 .git/index && + test-tool chmtime =1234567890 .git/index && git --no-optional-locks status && - test-chmtime -v +0 .git/index >out && + test-tool chmtime -v +0 .git/index >out && grep ^1234567890 out && git status && - test-chmtime -v +0 .git/index >out && + test-tool chmtime -v +0 .git/index >out && ! grep ^1234567890 out ' |