You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test expects CAP_SYS_ADMIN to be set (in order to perform mounts).
Currently, if this capability is not set, it returns bare unix errno
(EPERM) from unix.Mount, which is very confusing, since the test just
prints "Operation not permitted" and exits.
Do the following changes:
- move the first mount to before the switch, and skip the test when it
returns EPERM;
- wrap all unix.Mount errors to provide more context.
Signed-off-by: Kir Kolyshkin <[email protected]>
0 commit comments