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

git latest master: a6828f536119c3288b0be772e3870f1a464d017d -- error in t0050-filesystem.sh on Solaris

From
Whit Armstrong <armstrong.whit@gmail.com>
Date
Mar 12, 2008, 13:49 UTC
Message-ID
<8ec76080803120649h587b1933x6ec513d4b51a29a9@mail.gmail.com>

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 Solaris

the Unrecognized switch: -O is from the perl call:
++ perl -CO -e 'print pack("U",0x00E4)'
Unrecognized switch: -O  (-h will show valid options).
+ auml=
++ perl -CO -e 'print pack("U",0x0061).pack("U",0x0308)'
Unrecognized switch: -O  (-h will show valid options).
+ aumlcdiar=
here is the output log:
xs5-trd-p1.grn:warmstro> bash  t0050-filesystem.sh -v -i
Unrecognized switch: -O  (-h will show valid options).
Unrecognized switch: -O  (-h will show valid options).
* expecting success:
        test_case=test_expect_success
        test_unicode=test_expect_success
        mkdir junk &&
        echo good >junk/CamelCase &&
        echo bad >junk/camelcase &&
        if test "$(cat junk/CamelCase)" != good
        then
                test_case=test_expect_failure
                say "will test on a case insensitive filesystem"
        fi &&
        rm -fr junk &&
        mkdir junk &&
        >junk/"$auml" &&
        case "$(cd junk && echo *)" in
        "$aumlcdiar")
                test_unicode=test_expect_failure
                say "will test on a unicode corrupting filesystem"
                ;;
        *)      ;;
        esac &&
        rm -fr junk
t0050-filesystem.sh: junk/: Is a directory
* FAIL 1: see if we expect
                test_case=test_expect_success
                test_unicode=test_expect_success
                mkdir junk &&
                echo good >junk/CamelCase &&
                echo bad >junk/camelcase &&
                if test "$(cat junk/CamelCase)" != good
                then
                        test_case=test_expect_failure
                        say "will test on a case insensitive filesystem"
                fi &&
                rm -fr junk &&
                mkdir junk &&
                >junk/"$auml" &&
                case "$(cd junk && echo *)" in
                "$aumlcdiar")
                        test_unicode=test_expect_failure
                        say "will test on a unicode corrupting filesystem"
                        ;;
                *)      ;;
                esac &&
                rm -fr junk
xs5-trd-p1.grn:warmstro>
and the main make test log:
*** t0050-filesystem.sh ***
Unrecognized switch: -O  (-h will show valid options).
Unrecognized switch: -O  (-h will show valid options).
* FAIL 1: see if we expect
                test_case=test_expect_success
                test_unicode=test_expect_success
                mkdir junk &&
                echo good >junk/CamelCase &&
                echo bad >junk/camelcase &&
                if test "$(cat junk/CamelCase)" != good
                then
                        test_case=test_expect_failure
                        say "will test on a case insensitive filesystem"
                fi &&
                rm -fr junk &&
                mkdir junk &&
                >junk/"$auml" &&
                case "$(cd junk && echo *)" in
                "$aumlcdiar")
                        test_unicode=test_expect_failure
                        say "will test on a unicode corrupting filesystem"
                        ;;
                *)      ;;
                esac &&
                rm -fr junk
*   ok 2: setup case tests
*   ok 3: rename (case change)
*   ok 4: merge (case change)
* FAIL 5: setup unicode normalization tests
          test_create_repo unicode &&
          cd unicode &&
          touch "$aumlcdiar" &&
          git add "$aumlcdiar" &&
          git commit -m initial
          git tag initial &&
          git checkout -b topic &&
          git mv $aumlcdiar tmp &&
          git mv tmp "$auml" &&
          git commit -m rename &&
          git checkout -f master
* FAIL 6: rename (silent unicode normalization)
         git mv "$aumlcdiar" "$auml" &&
         git commit -m rename
* FAIL 7: merge (silent unicode normalization)
         git reset --hard initial &&
         git merge topic
* failed 4 among 7 test(s)
gmake[1]: *** [t0050-filesystem.sh] Error 1
gmake[1]: Leaving directory `/home/warmstro/dvl.whit/git/t'
gmake: *** [test] Error 2
Next: Jeff King
Message 1 of 2 in “git latest master: a6828f536119c3288b0be772e3870f1a464d017d -- error in t0050-filesystem.sh on Solaris”
  1. Whit ArmstrongMar 12, 2008
  2. Jeff KingMar 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.