tests/test-help.t
changeset 45055 4c1b4805db57
parent 44433 f82d2d4e71db
child 45059 79f6f9fa18c1
equal deleted inserted replaced
45054:922dbf0df4f1 45055:4c1b4805db57
  1915   > [extensions]
  1915   > [extensions]
  1916   > ambiguous = ./ambiguous.py
  1916   > ambiguous = ./ambiguous.py
  1917   > EOF
  1917   > EOF
  1918 
  1918 
  1919   $ "$PYTHON" <<EOF | sh
  1919   $ "$PYTHON" <<EOF | sh
  1920   > from mercurial import pycompat
  1920   > from mercurial.utils import procutil
  1921   > upper = b"\x8bL\x98^"
  1921   > upper = b"\x8bL\x98^"
  1922   > pycompat.stdout.write(b"hg --encoding cp932 help -e ambiguous.%s\n" % upper)
  1922   > procutil.stdout.write(b"hg --encoding cp932 help -e ambiguous.%s\n" % upper)
  1923   > EOF
  1923   > EOF
  1924   \x8bL\x98^ (esc)
  1924   \x8bL\x98^ (esc)
  1925   ----
  1925   ----
  1926   
  1926   
  1927   Upper name should show only this message
  1927   Upper name should show only this message
  1928   
  1928   
  1929 
  1929 
  1930   $ "$PYTHON" <<EOF | sh
  1930   $ "$PYTHON" <<EOF | sh
  1931   > from mercurial import pycompat
  1931   > from mercurial.utils import procutil
  1932   > lower = b"\x8bl\x98^"
  1932   > lower = b"\x8bl\x98^"
  1933   > pycompat.stdout.write(b"hg --encoding cp932 help -e ambiguous.%s\n" % lower)
  1933   > procutil.stdout.write(b"hg --encoding cp932 help -e ambiguous.%s\n" % lower)
  1934   > EOF
  1934   > EOF
  1935   \x8bl\x98^ (esc)
  1935   \x8bl\x98^ (esc)
  1936   ----
  1936   ----
  1937   
  1937   
  1938   Lower name should show only this message
  1938   Lower name should show only this message