]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: groups-dash.sh: avoid false failure
authorJim Meyering <jim@meyering.net>
Sat, 8 Jul 2017 10:01:34 +0000 (12:01 +0200)
committerJim Meyering <meyering@fb.com>
Sat, 8 Jul 2017 16:41:16 +0000 (18:41 +0200)
commited57568ea5fc9dcca8fd4dce00bb3085727e119a
tree375bfaf0b300ac2d810e5721050d1b18c2cebd49
parentdf2c30dca6bb9c07be9b6e5b12ff6d1634e6c417
tests: groups-dash.sh: avoid false failure

* tests/misc/groups-dash.sh: Avoid false failure on a system for which
"none" is a valid user name.  The first invocation would succeed, and
the second would fail with "groups: ‘--’: no such user".
Use a user name that cannot exist.
tests/misc/groups-dash.sh