summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 422b4a0)
raw | patch | inline | side by side (parent: 422b4a0)
author | Dennis Stosberg <dennis@stosberg.net> | |
Fri, 6 Oct 2006 09:10:54 +0000 (11:10 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Oct 2006 09:52:37 +0000 (02:52 -0700) |
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>
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t3210-pack-refs.sh | patch | blob | history |
diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh
index f31e79c561fd1adee699850d0e78755314c4c2ee..ca5bd49ba6cc86f15d7633ecebaee1c569229256 100755 (executable)
--- a/t/t3210-pack-refs.sh
+++ b/t/t3210-pack-refs.sh
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'