diff options
author | Dennis Stosberg <dennis@stosberg.net> | 2006-10-06 11:10:54 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-06 02:52:37 -0700 |
commit | 26e5fc3415a294546b4009c7280fed4d367d4e62 (patch) | |
tree | 70b983cac72044503a52702bf82408add0cfeb63 /t | |
parent | pack-refs: call fflush before fsync. (diff) | |
download | tgif-26e5fc3415a294546b4009c7280fed4d367d4e62.tar.xz |
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-x | t/t3210-pack-refs.sh | 2 |
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' |