diff options
| author | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-20 02:00:11 +0200 |
|---|---|---|
| committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-21 14:55:51 +0200 |
| commit | 6bc89f5f85fd3877d8f46724bbf4baba607f2cb0 (patch) | |
| tree | 6e732e6491d1e26ccf46b256bdd3e27ad6783dc8 /scripts/git-hooks/commit-msg | |
| parent | doc: tidy up setuid commentary (diff) | |
| download | coreutils-6bc89f5f85fd3877d8f46724bbf4baba607f2cb0.tar.gz coreutils-6bc89f5f85fd3877d8f46724bbf4baba607f2cb0.zip | |
test: avoid FP in chroot-credentials.sh for different group list order
On my openSUSE:Tumbleweed system, I get a false positive test failure
in the above 'check-root' test because the group lists inside and
outside the chroot have a different order:
++ chroot --userspec=berny / id -G
++ id -G berny
+ test '100 454 457 480 492' = '100 480 492 457 454'
+ fail=1
* tests/misc/chroot-credentials.sh (num_sort): Add function to sort
group lists, and use it in the test cases which test multiple groups.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
