Mercurial > hg
comparison tests/test-status.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 | 2af928d69e8e |
children | a20df0150f82 98fc949bec14 |
comparison
equal
deleted
inserted
replaced
50291:862969b6c359 | 50292:adecb1ab4a0d |
---|---|
847 status emit a warning then behave as if the directory was empty or removed | 847 status emit a warning then behave as if the directory was empty or removed |
848 entirely: | 848 entirely: |
849 | 849 |
850 $ chmod 0 subdir | 850 $ chmod 0 subdir |
851 $ hg status --include subdir | 851 $ hg status --include subdir |
852 subdir: Permission denied | 852 subdir: $EACCES$ |
853 R subdir/removed | 853 R subdir/removed |
854 ! subdir/clean | 854 ! subdir/clean |
855 ! subdir/deleted | 855 ! subdir/deleted |
856 ! subdir/modified | 856 ! subdir/modified |
857 $ chmod 755 subdir | 857 $ chmod 755 subdir |