Looked over the test results run for systemtap 0.5.14 on the test system as described by (http://fedoraproject.org/wiki/QA/Beaker). This is a bit different than running the tests as a developer; the test system start with stock system installed from scratch (e.g. RHEL5), then the systemtap source rpm and appropriate kernel-debug/kernel-devel rpms are obtained from the appropriate places and installed. The systemtap testsuite is run on the systemtap installed via rpm. Noticed the two following issues with the tests run in this environment: 1) Assumptions about sudo operating 2) stap_merge not available Assumptions about sudo There are tests in the systemtap testsuite that use sudo. In newer RHEL and Fedora distributions the default /etc/sudoers file has an option that only allows sudoer to be user from a tty: Defaults requiretty The following 0.5.14 tests fail on the test system due to things being run as root but without a tty: FAIL: backtrace - could not build modules FAIL: args - could not build modules FAIL: pid - could not build modules The newer versions of systemtap use sudo in more places. The tests are already run as root on the test system. The sudo should only be used when it is required, to avoid using the default configuration problem with /etc/sudoers. The attached as_root.diff attempts to deal with this. Do people have comments about this patch's approach? stap_merge availability Because stap_merge is not available to the testsuite the following script did not run: testsuite/systemtap.printf/end1b.exp ... -Will