public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/13977] New: rlimit tests fail as-root portions
@ 2012-04-12 20:54 jistone at redhat dot com
  2012-12-14 10:36 ` [Bug testsuite/13977] " mjw at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: jistone at redhat dot com @ 2012-04-12 20:54 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13977

             Bug #: 13977
           Summary: rlimit tests fail as-root portions
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


For the portions of rlimit.exp which try increasing limits as root, I get
failures like this:

> as_root sudo stap --rlimit-as=1 --rlimit-as=999999999999 -p4 /home/jistone/systemtap/testsuite/systemtap.base/rlimit.stp
> OUT stap: unrecognized option '--rlimit-as=1'
> RC 1
> FAIL: rlimit AS increase (as root)

The problem is that sudo picks up a different stap than the one being tested.

$ which stap
/usr/local/bin/stap
$ sudo which stap
/usr/bin/stap
$ sudo sh -c 'echo $PATH'
/sbin:/bin:/usr/sbin:/usr/bin

My installed /usr/bin/stap is still version 1.7, which doesn't have the various
rlimit options.  But even if it had them, it's the wrong executable to test.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-06-24 16:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-12 20:54 [Bug testsuite/13977] New: rlimit tests fail as-root portions jistone at redhat dot com
2012-12-14 10:36 ` [Bug testsuite/13977] " mjw at redhat dot com
2013-06-20 17:30 ` fche at redhat dot com
2013-06-20 21:35   ` Hien Nguyen
2013-06-21 17:20 ` dsmith at redhat dot com
2013-06-21 18:14 ` mjw at redhat dot com
2013-06-21 18:15 ` jistone at redhat dot com
2013-06-21 18:29 ` jistone at redhat dot com
2013-06-21 21:57 ` dsmith at redhat dot com
2013-06-24 16:04 ` dsmith at redhat dot com
2013-06-24 16:10 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).