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:
parent
422b4a0e03
commit
26e5fc3415
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user