D922: test-basic: make test compatible with chg

singhsrb (Saurabh Singh) phabricator at mercurial-scm.org
Wed Oct 4 09:41:46 EDT 2017


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

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:



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


More information about the Mercurial-devel mailing list