tests/test-xdg.t
author Yuya Nishihara <yuya@tcha.org>
Wed, 26 Apr 2017 23:30:52 +0900
changeset 32249 85dc5a25f1fc
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
debuginstall: check C extensions only if they are loadable per policy This check is useless in pure installation and I want to make it directly import C extension modules.

#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
  foobar

#endif