view tests/test-xdg.t @ 33485:d0b9c36851f5

run-tests: make time field optional for xunit report We're going to use XUnit to list tests, and we don't have a time field in that case.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 06 Jun 2017 13:52:25 -0700
parents 7d8da7b54dc0
children
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 2>/dev/null
  foobar

#endif