X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ft0110-environment-names-old.sh;h=5d602cc21a19f2a9cf9baebe8c90876afeaa2ff0;hb=7c3693f1f240e17772c864fad35bc16226038fc8;hp=9389796f84414be6c786cf0ce667c1eebdda98e0;hpb=de809dbbce497e0d107562615c1d85ff35b4e0c5;p=git.git diff --git a/t/t0110-environment-names-old.sh b/t/t0110-environment-names-old.sh index 9389796f..5d602cc2 100755 --- a/t/t0110-environment-names-old.sh +++ b/t/t0110-environment-names-old.sh @@ -54,8 +54,8 @@ test_expect_success \ date >path0 test_expect_success \ - 'using GIT_DIR in git-update-cache' \ - 'git-update-cache --add path0 && test -f .svn/index' + 'using GIT_DIR in git-update-index' \ + 'git-update-index --add path0 && test -f .svn/index' sedScript='s|\(..\)|.svn/objects/\1/|' @@ -86,8 +86,7 @@ committer A U Thor EOF test_expect_success \ 'verify old AUTHOR variables were used correctly in commit' \ - 'sed -ne '\''/^\(author\|committer\)/s|>.*|>|p'\'' current | - cmp - expected' + 'sed -ne '\''/^\(author\)/s|>.*|>|p'\'' -e'\''/^\(committer\)/s|>.*|>|p'\''\ current > out && cmp out expected' unset GIT_DIR test_expect_success \ @@ -128,7 +127,6 @@ committer R O Htua EOF test_expect_success \ 'verify new AUTHOR variables were used correctly in commit.' \ - 'sed -ne '\''/^\(author\|committer\)/s|>.*|>|p'\'' current | - cmp - expected' + 'sed -ne '\''/^\(author\)/s|>.*|>|p'\'' -e'\''/^\(committer\)/s|>.*|>|p'\''\ current > out && cmp out expected' test_done