Patchwork D8395: tests: skip CVS tests for root

login
register
mail settings
Submitter phabricator
Date April 10, 2020, 6:08 p.m.
Message ID <differential-rev-PHID-DREV-puyt4slwy3iey5dynjeg-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46062/
State Superseded
Headers show

Comments

phabricator - April 10, 2020, 6:08 p.m.
joerg.sonnenberger created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  It is not uncommon for cvs to check for root and to refuse work
  in that case.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8395

AFFECTED FILES
  tests/test-convert-cvs-branch.t
  tests/test-convert-cvs-detectmerge.t
  tests/test-convert-cvs-synthetic.t
  tests/test-convert-cvs.t
  tests/test-convert-cvsnt-mergepoints.t

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-convert-cvsnt-mergepoints.t b/tests/test-convert-cvsnt-mergepoints.t
--- a/tests/test-convert-cvsnt-mergepoints.t
+++ b/tests/test-convert-cvsnt-mergepoints.t
@@ -1,4 +1,4 @@ 
-#require cvs
+#require cvs no-root
 
   $ filterpath()
   > {
diff --git a/tests/test-convert-cvs.t b/tests/test-convert-cvs.t
--- a/tests/test-convert-cvs.t
+++ b/tests/test-convert-cvs.t
@@ -1,4 +1,4 @@ 
-#require cvs
+#require cvs no-root
 
   $ cvscall()
   > {
diff --git a/tests/test-convert-cvs-synthetic.t b/tests/test-convert-cvs-synthetic.t
--- a/tests/test-convert-cvs-synthetic.t
+++ b/tests/test-convert-cvs-synthetic.t
@@ -1,4 +1,4 @@ 
-#require cvs112
+#require cvs112 no-root
 
 This feature requires use of builtin cvsps!
 
diff --git a/tests/test-convert-cvs-detectmerge.t b/tests/test-convert-cvs-detectmerge.t
--- a/tests/test-convert-cvs-detectmerge.t
+++ b/tests/test-convert-cvs-detectmerge.t
@@ -1,4 +1,4 @@ 
-#require cvs
+#require cvs no-root
 
 Test config convert.cvsps.mergefrom config setting.
 (Should test similar mergeto feature, but I don't understand it yet.)
diff --git a/tests/test-convert-cvs-branch.t b/tests/test-convert-cvs-branch.t
--- a/tests/test-convert-cvs-branch.t
+++ b/tests/test-convert-cvs-branch.t
@@ -1,4 +1,4 @@ 
-#require cvs
+#require cvs no-root
 
 This is https://bz.mercurial-scm.org/1148
 and https://bz.mercurial-scm.org/1447