summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-10-06 11:10:54 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-06 02:52:37 -0700
commit26e5fc3415a294546b4009c7280fed4d367d4e62 (patch)
tree70b983cac72044503a52702bf82408add0cfeb63 /t
parent422b4a0e03658d0933a7abc149f175735ea9c4b5 (diff)
downloadgit-26e5fc3415a294546b4009c7280fed4d367d4e62.tar.gz
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t3210-pack-refs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh
index f31e79c561..ca5bd49ba6 100755
--- a/t/t3210-pack-refs.sh
+++ b/t/t3210-pack-refs.sh
@@ -23,7 +23,7 @@ SHA1=
test_expect_success \
'see if git show-ref works as expected' \
'git-branch a &&
- SHA1=$(< .git/refs/heads/a) &&
+ SHA1=`cat .git/refs/heads/a` &&
echo "$SHA1 refs/heads/a" >expect &&
git-show-ref a >result &&
diff expect result'