Mercurial > hg
diff tests/test-share.t @ 31766:bdcaf612e75a
tests: add globs for Windows
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 01 Apr 2017 14:48:39 -0400 |
parents | 344121b30f32 |
children | 6c800688afe1 |
line wrap: on
line diff
--- a/tests/test-share.t Fri Mar 24 19:19:00 2017 -0700 +++ b/tests/test-share.t Sat Apr 01 14:48:39 2017 -0400 @@ -367,7 +367,7 @@ $ hg share -U thisdir/orig thisdir/abs $ hg share -U --relative thisdir/abs thisdir/rel $ cat thisdir/rel/.hg/sharedpath - ../../orig/.hg (no-eol) + ../../orig/.hg (no-eol) (glob) $ grep shared thisdir/*/.hg/requires thisdir/abs/.hg/requires:shared thisdir/rel/.hg/requires:shared @@ -377,22 +377,22 @@ $ cd thisdir $ hg -R rel root - $TESTTMP/thisdir/rel + $TESTTMP/thisdir/rel (glob) $ cd .. now test that relative paths really are relative, survive across renames and changes of PWD $ hg -R thisdir/abs root - $TESTTMP/thisdir/abs + $TESTTMP/thisdir/abs (glob) $ hg -R thisdir/rel root - $TESTTMP/thisdir/rel + $TESTTMP/thisdir/rel (glob) $ mv thisdir thatdir $ hg -R thatdir/abs root - abort: .hg/sharedpath points to nonexistent directory $TESTTMP/thisdir/orig/.hg! + abort: .hg/sharedpath points to nonexistent directory $TESTTMP/thisdir/orig/.hg! (glob) [255] $ hg -R thatdir/rel root - $TESTTMP/thatdir/rel + $TESTTMP/thatdir/rel (glob) test unshare relshared repo