diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 9a557129d9..6fb7b1a125 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -32,7 +32,7 @@ test_expect_success \ find .git/objects -type d -print >full-of-directories test_expect_success \ '.git/objects should have 256 subdirectories.' \ - 'test "$(wc -l full-of-directories | sed -e "s/ .*//")" = 257' + 'test $(cat full-of-directories | wc -l) = 257' ################################################################ # Basics of the basics