X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4006-diff-mode.sh;h=4e92fce1d00a55cfbc39e55b53f95cc309e96ff2;hb=c0234b2ef6a8eaa27d9d93c4c96b36d9e82ebf9c;hp=b8acca1813955ca0034f7b2c0b9a12e3e2a4926f;hpb=f26cacf4956b08238868b21a8eac6b5e51a17d7f;p=git.git diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index b8acca181..4e92fce1d 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -11,24 +11,24 @@ test_description='Test mode change diffs. test_expect_success \ 'setup' \ 'echo frotz >rezrov && - git-update-index --add rezrov && - tree=`git-write-tree` && + git update-index --add rezrov && + tree=`git write-tree` && echo $tree' if [ "$(git config --get core.filemode)" = false ] then say 'filemode disabled on the filesystem, using update-index --chmod=+x' test_expect_success \ - 'git-update-index --chmod=+x' \ - 'git-update-index rezrov && - git-update-index --chmod=+x rezrov && - git-diff-index $tree >current' + 'git update-index --chmod=+x' \ + 'git update-index rezrov && + git update-index --chmod=+x rezrov && + git diff-index $tree >current' else test_expect_success \ 'chmod' \ 'chmod +x rezrov && - git-update-index rezrov && - git-diff-index $tree >current' + git update-index rezrov && + git diff-index $tree >current' fi _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' @@ -38,6 +38,6 @@ echo ":100644 100755 X X M rezrov" >expected test_expect_success \ 'verify' \ - 'git diff expected check' + 'test_cmp expected check' test_done