Make t0000-basic.sh and t0110-environment-names-old.sh more portable. Fix t3000-ls-files-others to pick up filenames that start with dots. --- commit 36c3e78b55d6740201296aadd32430c0212ad0bf tree b17eadf351f4d2a9c7f8851863188ddb8e9e3c5a parent c4ee2952b3146fe7dc9433b92bf066e55987ef74 author Mark Allen 1116996230 -0500 committer Mark Allen 1116996230 -0500 t0000-basic.sh | 2 +- t0110-environment-names-old.sh | 6 ++---- t3000-ls-files-others.sh | 1 + 3 files changed, 4 insertions, 5 deletions Index: t/t0000-basic.sh =================================================================== --- 0a6dd114f3cbd19fc9773dc31f19c21b59007800/t/t0000-basic.sh (mode:100755) +++ b17eadf351f4d2a9c7f8851863188ddb8e9e3c5a/t/t0000-basic.sh (mode:100755) @@ -84,7 +84,7 @@ done test_expect_success \ 'adding various types of objects with git-update-cache --add.' \ - 'find path* ! -type d -print0 | xargs -0 -r git-update-cache --add' + 'find path* ! -type d -print0 | xargs -0 git-update-cache --add' # Show them and see that matches what we expect. test_expect_success \ Index: t/t0110-environment-names-old.sh =================================================================== --- 0a6dd114f3cbd19fc9773dc31f19c21b59007800/t/t0110-environment-names-old.sh (mode:100755) +++ b17eadf351f4d2a9c7f8851863188ddb8e9e3c5a/t/t0110-environment-names-old.sh (mode:100755) @@ -86,8 +86,7 @@ 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 @@ 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 Index: t/t3000-ls-files-others.sh =================================================================== --- 0a6dd114f3cbd19fc9773dc31f19c21b59007800/t/t3000-ls-files-others.sh (mode:100755) +++ b17eadf351f4d2a9c7f8851863188ddb8e9e3c5a/t/t3000-ls-files-others.sh (mode:100755) @@ -22,6 +22,7 @@ 'git-ls-files --others to show output.' \ 'git-ls-files --others >.output' cat >.expected <