Remove bashism from t3210-pack-refs.sh

This bashism makes the test fail if /bin/sh is not bash.

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Dennis Stosberg 2006-10-06 11:10:54 +02:00 committed by Junio C Hamano
parent 422b4a0e03
commit 26e5fc3415

View File

@ -23,7 +23,7 @@ SHA1=
test_expect_success \ test_expect_success \
'see if git show-ref works as expected' \ 'see if git show-ref works as expected' \
'git-branch a && 'git-branch a &&
SHA1=$(< .git/refs/heads/a) && SHA1=`cat .git/refs/heads/a` &&
echo "$SHA1 refs/heads/a" >expect && echo "$SHA1 refs/heads/a" >expect &&
git-show-ref a >result && git-show-ref a >result &&
diff expect result' diff expect result'