Mercurial > hg
comparison tests/test-install.t @ 34130:ada8a19672ab
debuginstall: do not pass exception object to formatter (issue5676)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 07 Sep 2017 22:36:54 +0900 |
parents | 902219a99901 |
children | 8251c4c4abdc |
comparison
equal
deleted
inserted
replaced
34129:902219a99901 | 34130:ada8a19672ab |
---|---|
79 hg debuginstall with invalid encoding | 79 hg debuginstall with invalid encoding |
80 $ HGENCODING=invalidenc hg debuginstall | grep encoding | 80 $ HGENCODING=invalidenc hg debuginstall | grep encoding |
81 checking encoding (invalidenc)... | 81 checking encoding (invalidenc)... |
82 unknown encoding: invalidenc | 82 unknown encoding: invalidenc |
83 | 83 |
84 exception message in JSON | |
85 | |
86 $ HGENCODING=invalidenc HGUSER= hg debuginstall -Tjson | grep error | |
87 "defaulttemplateerror": null, | |
88 "encodingerror": "unknown encoding: invalidenc", | |
89 "extensionserror": null, (no-pure !) | |
90 "usernameerror": "no username supplied", | |
91 | |
84 path variables are expanded (~ is the same as $TESTTMP) | 92 path variables are expanded (~ is the same as $TESTTMP) |
85 $ mkdir tools | 93 $ mkdir tools |
86 $ touch tools/testeditor.exe | 94 $ touch tools/testeditor.exe |
87 #if execbit | 95 #if execbit |
88 $ chmod 755 tools/testeditor.exe | 96 $ chmod 755 tools/testeditor.exe |