view tests/test-hgk.t @ 20114:390aff33c2f9

tests: fix `hghave root` on windows This lets tests\test-hghave.t pass on windows where geteuid does not exist.
author Simon Heimberg <simohe@besonet.ch>
date Sat, 23 Nov 2013 01:06:20 +0100
parents cf72fd8b3072
children 5fb1fc2e1281
line wrap: on
line source

Minimal hgk check

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "hgk=" >> $HGRCPATH
  $ hg init repo
  $ cd repo
  $ echo a > a
  $ hg ci -Am adda
  adding a
  $ hg debug-cat-file commit 0
  tree a0c8bcbbb45c
  parent 000000000000
  author test 0 0
  revision 0
  branch default
  phase draft
  
  adda

  $ cd ..