tests/test-xdg.t
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 18 Feb 2019 00:27:25 +0900
changeset 41745 9897e95b0b4a
parent 32467 7d8da7b54dc0
child 51632 a4b3b8dee0a8
permissions -rw-r--r--
tests: bulk changes to avoid "omit superfluous pass" check-code.py error This is a part of preparation to apply checking with check-code.py on code fragments embedded in *.t test scripts.

#if no-windows no-osx

  $ mkdir -p xdgconf/hg
  $ echo '[ui]' > xdgconf/hg/hgrc
  $ echo 'username = foobar' >> xdgconf/hg/hgrc
  $ XDG_CONFIG_HOME="`pwd`/xdgconf" ; export XDG_CONFIG_HOME
  $ unset HGRCPATH
  $ hg config ui.username 2>/dev/null
  foobar

#endif