tests: fix failure in test-wip.t (bug 1306316) r?gps draft
authorMāris Fogels <mars@mozilla.com>
Thu, 29 Sep 2016 11:10:18 -0400
changeset 9656 7dba14ce7cd28648d9208a69bfc7c2ae45ae2361
parent 9655 d02b5578d600de968f2912e330ca563118bcbbc3
push id1263
push usermfogels@mozilla.com
push dateThu, 29 Sep 2016 17:10:48 +0000
reviewersgps
bugs1306316
tests: fix failure in test-wip.t (bug 1306316) r?gps Fixed a path test in test-wip.t that includes the project checkout directory name. The checkout directory name varies between environments (and developers), so restrict the test to in-project paths. MozReview-Commit-ID: 3EedsRaL14c
hgext/configwizard/tests/test-wip.t
--- a/hgext/configwizard/tests/test-wip.t
+++ b/hgext/configwizard/tests/test-wip.t
@@ -215,14 +215,14 @@ wip alias ignores old esrs if using fire
    wip = log --graph --rev=wip --template=wip
    [revsetalias]
   -wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or unstable()^) and not closed()
   +wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or unstable()^) and not closed() and not (fxheads() - date(-90))
    [templates]
    wip = '{label("log.branch", branches)} {label("changeset.{phase}", rev)}{label("changeset.{phase}", ":")}{label("changeset.{phase}", short(node))} {label("grep.user", author|user)}{label("log.tag", if(tags," {tags}"))}{label("log.tag", if(fxheads," {fxheads}"))} {label("log.bookmark", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset("."), "desc.here"),desc|firstline)}'
    [extensions]
    pager =
-  +firefoxtree = */version-control-tools/hgext/firefoxtree (glob)
+  +firefoxtree = */hgext/firefoxtree (glob)
    [pager]
    pager = LESS=FRSXQ less
    attend-help = true
   
   Write changes to hgrc file (Yn)?  y