Mercurial > hg-stable
comparison tests/test-permissions.t @ 49920:2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
This reduces a lot of the test output that was otherwise useless, and also
makes it a lot easier to add things to verify without breaking the test suite
because of additional output.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 02 May 2022 17:47:38 +0200 |
parents | e845537f6adb |
children | adecb1ab4a0d |
comparison
equal
deleted
inserted
replaced
49919:fdd227585d5a | 49920:2f2682f40ea0 |
---|---|
17 $ echo foo > a | 17 $ echo foo > a |
18 $ hg add a | 18 $ hg add a |
19 | 19 |
20 $ hg commit -m "1" | 20 $ hg commit -m "1" |
21 | 21 |
22 $ hg verify | 22 $ hg verify -q |
23 checking changesets | |
24 checking manifests | |
25 crosschecking files in changesets and manifests | |
26 checking files | |
27 checked 1 changesets with 1 changes to 1 files | |
28 | 23 |
29 $ chmod -r .hg/store/data/a.i | 24 $ chmod -r .hg/store/data/a.i |
30 | 25 |
31 $ hg verify | 26 $ hg verify -q |
32 checking changesets | |
33 checking manifests | |
34 crosschecking files in changesets and manifests | |
35 checking files | |
36 abort: Permission denied: '$TESTTMP/t/.hg/store/data/a.i' | 27 abort: Permission denied: '$TESTTMP/t/.hg/store/data/a.i' |
37 [255] | 28 [255] |
38 | 29 |
39 $ chmod +r .hg/store/data/a.i | 30 $ chmod +r .hg/store/data/a.i |
40 | 31 |
41 $ hg verify | 32 $ hg verify -q |
42 checking changesets | |
43 checking manifests | |
44 crosschecking files in changesets and manifests | |
45 checking files | |
46 checked 1 changesets with 1 changes to 1 files | |
47 | 33 |
48 $ chmod -w .hg/store/data/a.i | 34 $ chmod -w .hg/store/data/a.i |
49 | 35 |
50 $ echo barber > a | 36 $ echo barber > a |
51 $ hg commit -m "2" | 37 $ hg commit -m "2" |