git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.i
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
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.t
tr: 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.t
xs5-trd-p1.grn:warmstro>
Next: Johannes Schindelin
Message 1 of 13 in “Solaris test failure for git-1.5.4.4 -- t0021-conversion.sh”
  1. Whit ArmstrongMar 11, 2008
  2. Johannes SchindelinMar 11, 2008
  3. Johannes SixtMar 11, 2008
  4. David KastrupMar 11, 2008
  5. Asheesh LaroiaMar 11, 2008
  6. Whit ArmstrongMar 11, 2008
  7. Jeff KingMar 11, 2008
  8. Jeff KingMar 11, 2008
  9. Whit ArmstrongMar 11, 2008
  10. Junio C HamanoMar 12, 2008
  11. Jeff KingMar 12, 2008
  12. Jeff KingMar 12, 2008
  13. Johannes SchindelinMar 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.