tests/test-xdg.t
author Yuya Nishihara <yuya@tcha.org>
Thu, 20 Apr 2017 22:45:45 +0900
branchstable
changeset 32060 49145a2b2fb0
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
test-profile: allow negative time in JSON output (issue5542) I don't know why it can be a negative number, but that shouldn't be important here.

#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