This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/13977] New: rlimit tests fail as-root portions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]