summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 557b1e0)
raw | patch | inline | side by side (parent: 557b1e0)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Apr 2007 05:05:22 +0000 (22:05 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Apr 2007 05:05:22 +0000 (22:05 -0700) |
A Large Angry SCM (gitzilla) noticed that on an unnamed platform, tail -c
wants its byte count as part of the option, not as a separate argument.
Signed-off-by: Junio C Hamano <junkio@cox.net>
wants its byte count as part of the option, not as a separate argument.
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5302-pack-index.sh | patch | blob | history |
diff --git a/t/t5302-pack-index.sh b/t/t5302-pack-index.sh
index 232e5f196429a99fba38e6cf5eb363bb11b68178..6902fc6d48fd68bd83be6ff9c4f2acd142153d22 100755 (executable)
--- a/t/t5302-pack-index.sh
+++ b/t/t5302-pack-index.sh
test-genrandom "$i" 8192 >>file_$i &&
git-update-index --add file_$i || return 1
done &&
- echo 101 >file_101 && tail -c 8192 file_100 >>file_101 &&
+ { echo 101 && test-genrandom 100 8192; } >file_101 &&
git-update-index --add file_101 &&
tree=`git-write-tree` &&
commit=`git-commit-tree $tree </dev/null` && {