view tests/test-xdg.t @ 31844:478999e8281d

tests: move update requiredest test to own test file More tests for this flag are coming in upcoming patches.
author Ryan McElroy <rmcelroy@fb.com>
date Fri, 07 Apr 2017 05:41:03 -0700
parents 354020079723
children 7d8da7b54dc0
line wrap: on
line source

#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