]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5300-pack-object.sh
t5300-pack-object.sh: portability issue using /usr/bin/stat
authorArjen Laarhoven <arjen@yaph.org>
Fri, 6 Apr 2007 23:49:03 +0000 (01:49 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 7 Apr 2007 04:19:28 +0000 (21:19 -0700)
commitd93f7c1817f8b9e8bbb2e8ed70e87e84bc55b9f2
treed81b6f3c3a2ffce84de6c8c6bb02b31e349f7ff0
parent4c84f0dcc630817aaf71049163ee63b96d543a38
t5300-pack-object.sh: portability issue using /usr/bin/stat

In the test 'compare delta flavors', /usr/bin/stat is used to get file size.
This isn't portable.  There already is a dependency on Perl, use its '-s'
operator to get the file size.

Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5300-pack-object.sh