chroot-credentials.log ( failed)
test link: tests/chroot/chroot-credentials.shFAIL: tests/chroot/chroot-credentials
=====================================
chroot --userspec=$NON_ROOT_UID: / true || fail=1
chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP / whoami
chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP \
chroot: invalid userspec: '65534:'
chroot: no such group: ' '
chroot: no such group: ''
chroot: no such group: 0trail
chroot: invalid userspec: ':65534'
chroot: invalid userspec: 'nobody'
chroot: invalid userspec: 'nobody:'
chroot: invalid userspec: 'nobody'
chroot: invalid userspec: '65534'
chroot: invalid userspec: ':65534'
chroot: no such group: ' +8765'
chroot: no such group: ''
error: the argument '--groups ' cannot be used multiple times
Usage: chroot [OPTION]... NEWROOT [COMMAND [ARG]...]
For more information, try '--help'.
id: '+12342': no such user
chroot: no such group: +5678
chroot: invalid userspec: '+12342'
FAIL tests/chroot/chroot-credentials.sh (exit status: 1)