Skip to content

Commit

Permalink
t5302: avoid using tail -c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Apr 24, 2007
1 parent 557b1e0 commit bd4b0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t5302-pack-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test_expect_success \
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` && {
Expand Down

0 comments on commit bd4b0ae

Please sign in to comment.