t5302: avoid using tail -c

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>
This commit is contained in:
Junio C Hamano 2007-04-23 22:05:22 -07:00
parent 557b1e0da5
commit bd4b0aeb1f

View file

@ -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` && {