summaryrefslogtreecommitdiff
path: root/t/t7508-status.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-04-25 13:29:00 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-25 13:29:00 +0900
commitdeb9845a0a180d27caf581da2bc0c46f5288db6f (patch)
treeef66e687a0d6ef6b571c875247cc003fedd600d2 /t/t7508-status.sh
parentMerge branch 'js/t5404-path-fix' (diff)
parentt/helper: 'test-chmtime (--get|-g)' to print only the mtime (diff)
downloadtgif-deb9845a0a180d27caf581da2bc0c46f5288db6f.tar.xz
Merge branch 'ps/test-chmtime-get'
Test cleanup. * ps/test-chmtime-get: t/helper: 'test-chmtime (--get|-g)' to print only the mtime
Diffstat (limited to 't/t7508-status.sh')
-rwxr-xr-xt/t7508-status.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7508-status.sh b/t/t7508-status.sh
index 7afadb175a..18a40257fb 100755
--- a/t/t7508-status.sh
+++ b/t/t7508-status.sh
@@ -1674,10 +1674,10 @@ test_expect_success '"Initial commit" should not be noted in commit template' '
test_expect_success '--no-optional-locks prevents index update' '
test-tool chmtime =1234567890 .git/index &&
git --no-optional-locks status &&
- test-tool chmtime -v +0 .git/index >out &&
+ test-tool chmtime --get .git/index >out &&
grep ^1234567890 out &&
git status &&
- test-tool chmtime -v +0 .git/index >out &&
+ test-tool chmtime --get .git/index >out &&
! grep ^1234567890 out
'