[Updated] D9836: tests: skip a detailed exit status in test-lfs-test-server
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Wed Jan 20 06:30:31 UTC 2021
Closed by commit rHG969554e2cfc7: tests: skip a detailed exit status in test-lfs-test-server (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9836?vs=25164&id=25165
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9836/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9836
AFFECTED FILES
tests/test-lfs-test-server.t
CHANGE DETAILS
diff --git a/tests/test-lfs-test-server.t b/tests/test-lfs-test-server.t
--- a/tests/test-lfs-test-server.t
+++ b/tests/test-lfs-test-server.t
@@ -420,7 +420,10 @@
TODO: give the proper error indication from `hg serve`
- $ hg --repo ../repo1 update -C tip --debug
+TODO: reconsider the except base class so that the git and hg errors yield the
+same exit status.
+
+ $ hg --repo ../repo1 update -C tip --debug --config ui.detailed-exit-code=False
http auth: user foo, password ***
resolving manifests
branchmerge: False, force: True, partial: False
@@ -460,7 +463,7 @@
Date: $HTTP_DATE$ (git-server !)
abort: corrupt remote lfs object: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (git-server !)
abort: LFS server error for "c": Validation error (hg-server !)
- [50]
+ [255]
The corrupted blob is not added to the usercache or local store
To: mharbison72, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210120/158d6c8b/attachment-0002.html>
More information about the Mercurial-patches
mailing list