Patchwork D922: test-basic: make test compatible with chg

login
register
mail settings
Submitter phabricator
Date Oct. 4, 2017, 1:41 p.m.
Message ID <c9fa1bdb74ea93eaf42d7f5b235e8afd@localhost.localdomain>
Download mbox | patch
Permalink /patch/24465/
State Not Applicable
Headers show

Comments

phabricator - Oct. 4, 2017, 1:41 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1f5bd3e1a7fe: test-basic: make test compatible with chg (authored by singhsrb, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D922?vs=2382&id=2404

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

AFFECTED FILES
  tests/test-basic.t

CHANGE DETAILS




To: singhsrb, #hg-reviewers, quark
Cc: mercurial-devel

Patch

diff --git a/tests/test-basic.t b/tests/test-basic.t
--- a/tests/test-basic.t
+++ b/tests/test-basic.t
@@ -31,14 +31,24 @@ 
   $ hg status >/dev/full
   abort: No space left on device
   [255]
+#endif
 
+#if devfull no-chg
   $ hg status >/dev/full 2>&1
   [1]
 
   $ hg status ENOENT 2>/dev/full
   [1]
 #endif
 
+#if devfull chg
+  $ hg status >/dev/full 2>&1
+  [255]
+
+  $ hg status ENOENT 2>/dev/full
+  [255]
+#endif
+
   $ hg commit -m test
 
 This command is ancient: