Mercurial > hg
comparison tests/test-convert.t @ 50292:adecb1ab4a0d stable
tests: add a rewriting step to detect EACCES errors
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Fri, 10 Mar 2023 18:20:19 +0000 |
parents | 7525e77b5eac |
children |
comparison
equal
deleted
inserted
replaced
50291:862969b6c359 | 50292:adecb1ab4a0d |
---|---|
466 | 466 |
467 $ mkdir bogusdir | 467 $ mkdir bogusdir |
468 $ chmod 000 bogusdir | 468 $ chmod 000 bogusdir |
469 | 469 |
470 $ hg convert a bogusdir | 470 $ hg convert a bogusdir |
471 abort: Permission denied: *bogusdir* (glob) | 471 abort: $EACCES$: *bogusdir* (glob) |
472 [255] | 472 [255] |
473 | 473 |
474 user permissions should succeed | 474 user permissions should succeed |
475 | 475 |
476 $ chmod 700 bogusdir | 476 $ chmod 700 bogusdir |