(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(DQ ("Gettext reencoding of our *.po/*.mo files works"))}
          spids: [13]
        )
      ]
      spids: [13]
    )
    (C {(.)} {(./lib-gettext.sh)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:RUNES)
          op: Equal
          rhs: 
            {
              (DQ 
                (
"TILRAUN: \u16bb\u16d6 \u16b3\u16b9\u16ab\u16a6 \u16a6\u16ab\u16cf \u16bb\u16d6 \u16d2\u16a2\u16de\u16d6 \u16a9\u16be \u16a6\u16ab\u16d7 \u16da\u16aa\u16be\u16de\u16d6 \u16be\u16a9\u16b1\u16a6\u16b9\u16d6\u16aa\u16b1\u16de\u16a2\u16d7 \u16b9\u16c1\u16a6 \u16a6\u16aa \u16b9\u16d6\u16e5\u16ab"
                )
              )
            }
          spids: [27]
        )
      ]
      spids: [27]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:PUNTS)
          op: Equal
          rhs: {(DQ ("TILRAUN: ?? ???? ??? ?? ???? ?? ??? ????? ??????????? ??? ?? ????"))}
          spids: [32]
        )
      ]
      spids: [32]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:MSGKEY)
          op: Equal
          rhs: {(DQ ("TEST: Old English Runes"))}
          spids: [37]
        )
      ]
      spids: [37]
    )
    (C {(test_expect_success)} {(GETTEXT_LOCALE)} 
      {(SQ <"gettext: Emitting UTF-8 from our UTF-8 *.mo files / Icelandic">)} 
      {
        (SQ <"\n"> <"    printf \"TILRAUN: Hall\u00f3 Heimur!\" >expect &&\n"> 
          <"    LANGUAGE=is LC_ALL=\"$is_IS_locale\" gettext \"TEST: Hello World!\" >actual &&\n"> <"    test_cmp expect actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_LOCALE)} 
      {(SQ <"gettext: Emitting UTF-8 from our UTF-8 *.mo files / Runes">)} 
      {
        (SQ <"\n"> <"    printf \"%s\" \"$RUNES\" >expect &&\n"> 
          <"    LANGUAGE=is LC_ALL=\"$is_IS_locale\" gettext \"$MSGKEY\" >actual &&\n"> <"    test_cmp expect actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_ISO_LOCALE)} 
      {(SQ <"gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Icelandic">)} 
      {
        (SQ <"\n"> 
          <"    printf \"TILRAUN: Hall\u00f3 Heimur!\" | iconv -f UTF-8 -t ISO8859-1 >expect &&\n"> <"    LANGUAGE=is LC_ALL=\"$is_IS_iso_locale\" gettext \"TEST: Hello World!\" >actual &&\n"> 
          <"    test_cmp expect actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_ISO_LOCALE)} {(SQ <"gettext: impossible ISO-8859-1 output">)} 
      {
        (SQ <"\n"> <"\tLANGUAGE=is LC_ALL=\"$is_IS_iso_locale\" gettext \"$MSGKEY\" >runes &&\n"> 
          <"\tcase \"$(cat runes)\" in\n"> <"\t\"$MSGKEY\")\n"> <"\t\tsay \"Your system gives back the key to message catalog\"\n"> <"\t\t;;\n"> 
          <"\t\"$PUNTS\")\n"> <"\t\tsay \"Your system replaces an impossible character with ?\"\n"> <"\t\t;;\n"> <"\t\"$RUNES\")\n"> 
          <"\t\tsay \"Your system gives back the raw message for an impossible request\"\n"> <"\t\t;;\n"> <"\t*)\n"> <"\t\tsay \"We never saw the error behaviour your system exhibits\"\n"> 
          <"\t\tfalse\n"> <"\t\t;;\n"> <"\tesac\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_LOCALE)} {(SQ <"gettext: Fetching a UTF-8 msgid -> UTF-8">)} 
      {
        (SQ <"\n"> 
          <
"    printf \"TILRAUN: \u201aeinfaldar\u2018 og \u201etv\u00f6faldar\u201c g\u00e6salappir\" >expect &&\n"
          > 
          <
"    LANGUAGE=is LC_ALL=\"$is_IS_locale\" gettext \"TEST: \u2018single\u2019 and \u201cdouble\u201d quotes\" >actual &&\n"
          > <"    test_cmp expect actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_ISO_LOCALE)} 
      {(SQ <"gettext: Fetching a UTF-8 msgid -> ISO-8859-1">)} 
      {
        (SQ <"\n"> 
          <
"    LANGUAGE=is LC_ALL=\"$is_IS_iso_locale\" gettext \"TEST: \u2018single\u2019 and \u201cdouble\u201d quotes\" >actual &&\n"
          > <"    grep \"einfaldar\" actual &&\n"> 
          <"    grep \"$(echo tv\u00f6faldar | iconv -f UTF-8 -t ISO8859-1)\" actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_LOCALE)} {(SQ <"gettext.c: git init UTF-8 -> UTF-8">)} 
      {
        (SQ <"\n"> <"    printf \"Bj\u00f3 til t\u00f3ma Git lind\" >expect &&\n"> 
          <"    LANGUAGE=is LC_ALL=\"$is_IS_locale\" git init repo >actual &&\n"> <"    test_when_finished \"rm -rf repo\" &&\n"> <"    grep \"^$(cat expect) \" actual\n">
        )
      }
    )
    (C {(test_expect_success)} {(GETTEXT_ISO_LOCALE)} {(SQ <"gettext.c: git init UTF-8 -> ISO-8859-1">)} 
      {
        (SQ <"\n"> <"    printf \"Bj\u00f3 til t\u00f3ma Git lind\" >expect &&\n"> 
          <"    LANGUAGE=is LC_ALL=\"$is_IS_iso_locale\" git init repo >actual &&\n"> <"    test_when_finished \"rm -rf repo\" &&\n"> 
          <"    grep \"^$(cat expect | iconv -f UTF-8 -t ISO8859-1) \" actual\n">
        )
      }
    )
    (C {(test_done)})
  ]
)