Solaris test failure for git-1.5.4.4 -- t0021-conversion.sh
- From
Whit Armstrong <armstrong.whit@gmail.com>
- Date
- Mar 11, 2008, 12:33 UTC
- Message-ID
- <8ec76080803110533m14041aebhc779d117a5bb6112@mail.gmail.com>
Git Version: git-1.5.4.4
xs5-trd-p1.grn:warmstro> uname -a SunOS xs5-trd-p1.grn.tudor.com 5.9 Generic_118558-38 sun4u sparc SUNW,Sun-Fire-V240
looks like most errors below are related to tr. The tr I'm using is in xpg4.
xs5-trd-p1.grn:warmstro> which tr /usr/xpg4/bin/tr
xs5-trd-p1.grn:warmstro> sh t0021-conversion.sh -i -v
* expecting success:
git config filter.rot13.smudge ./rot13.sh &&
git config filter.rot13.clean ./rot13.sh && {
echo "*.t filter=rot13"
echo "*.i ident"
} >.gitattributes && {
echo a b c d e f g h i j k l m
echo n o p q r s t u v w x y z
echo '$Id$'
} >test &&
cat test >test.t &&
cat test >test.o &&
cat test >test.i &&
git add test test.t test.i &&
rm -f test test.t test.i &&
git checkout -- test test.t test.itr: Bad string. error: external filter ./rot13.sh failed 1 error: waitpid (async) failed error: external filter ./rot13.sh failed tr: Bad string. error: external filter ./rot13.sh failed 1 error: waitpid (async) failed error: external filter ./rot13.sh failed tr: Bad string. error: external filter ./rot13.sh failed 1 error: waitpid (async) failed error: external filter ./rot13.sh failed * ok 1: setup
* expecting success:
cmp test.o test &&
cmp test.o test.t && # ident should be stripped in the repository
git diff --raw --exit-code :test :test.i &&
id=$(git rev-parse --verify :test) &&
embedded=$(sed -ne "$script" test.i) &&
test "z$id" = "z$embedded" &&git cat-file blob :test.t > test.r &&
./rot13.sh < test.o > test.t &&
cmp test.r test.ttr: Bad string. * FAIL 2: check
cmp test.o test &&
cmp test.o test.t && # ident should be stripped in the repository
git diff --raw --exit-code :test :test.i &&
id=$(git rev-parse --verify :test) &&
embedded=$(sed -ne "$script" test.i) &&
test "z$id" = "z$embedded" &&git cat-file blob :test.t > test.r &&
./rot13.sh < test.o > test.t &&
cmp test.r test.txs5-trd-p1.grn:warmstro>