From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Question about perf_event_open/Cap_bounds/su01 test cases
Date: Wed, 9 Mar 2016 14:52:57 +0100 [thread overview]
Message-ID: <20160309135256.GC28171@rei.lan> (raw)
In-Reply-To: <250374796.7297169.1457525313432.JavaMail.zimbra@redhat.com>
Hi!
> > 4. su01 fail with < /bin/su -l root with correct password ( FAILED ) > [more
> > details, please refer to https://justpaste.it/s329].
> > a. Could be an test issue?
>
> Don't have much experience with this test, but it looks like
> it relies on group 'wheel' or 'trusted' to be present, and
> in your case it's not:
> usermod: group 'trusted' does not exist
Looks to me like the group detection (that user needs to run su) is
completly broken. It check only for redhat and assumes that rest of the
world uses group trusted (which is true for suse but seems to be the
only one among widely used distributions).
And the whole testcases is messy and should be rewritten.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2016-03-09 13:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 10:40 [LTP] Question about perf_event_open/Cap_bounds/su01 test cases Julio Cruz Barroso
2016-03-09 12:08 ` Jan Stancek
2016-03-09 13:52 ` Cyril Hrubis [this message]
2016-03-09 14:08 ` Cyril Hrubis
2016-03-11 13:35 ` Julio Cruz Barroso
2016-03-11 15:35 ` Jan Stancek
2016-03-12 12:01 ` Julio Cruz Barroso
2016-03-12 13:45 ` Jan Stancek
2016-03-13 11:39 ` Julio Cruz Barroso
2016-03-14 12:10 ` Jan Stancek
2016-03-15 10:35 ` Julio Cruz Barroso
2016-03-14 18:18 ` Cyril Hrubis
2016-03-15 15:07 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160309135256.GC28171@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox