mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: check if qa user can execute commands
_require_user only checks if the qa user exists in /etc/passwd. It may exist though still not be able to execute anything (e.g. with a /bin/false shell). _user_do cannot determine failure to execute the given command, as it uses _user_do_filter for post-processing which succeeds even if the command fails. Thus, the check should be performed by _require_user. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
bea2997f08
commit
b2a0a1c698
Reference in New Issue
Block a user