| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* testsuite/lib/systemtap.exp (setup_server): Use stap-find-servers to
check that the firewall is letting us through to the server.
|
|
|
|
|
|
|
| |
* stap-serverd: Block startup if whoami=root, unless magic
environment variable is set.
* testsuite/lib/systemtap.exp: Set magic environment variable to
override protection.
|
| |
|
| |
|
| |
|
|
|
|
| |
tools to libexec.
|
|
|
|
|
| |
* testsuite/lib/systemtap.exp (shutdown_server): Only remove the temporary
stap script if it exists.
|
|
|
|
|
|
|
|
|
|
| |
group owner of the uprobes buld directory to build uprobes.ko.
- When building uprobes.ko, make all generated files writable by the group
owner of the uprobes build directory.
- Don't change the group owner of the uprobes build directory during
'make install'
|
|
|
|
| |
Always start a local server needed by the test suite (make {install}check).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using spawn with sudo doesn't work well, because the password prompt
won't go to the correct TTY. The only reason that the uprobes tests
needed to do this is so uprobes.ko could be built as root. Now instead,
I've added a pre-check that will directly call the uprobes make with
sudo (via the as_root proc).
* testsuite/lib/systemtap.exp (uprobes_p): Check and build uprobes.ko.
* testsuite/systemtap.base/uprobes.exp: Use uprobes_p; don't spawn sudo.
* testsuite/systemtap.base/bz6850.exp: Ditto.
* testsuite/systemtap.base/bz10078.exp: Ditto.
* testsuite/systemtap.base/bz6905.exp: sudo isn't needed for -p2.
|
|
|
|
| |
Allow shutdown_server to test $server_pid in order to determine whether we started a server.
|
|
|
|
|
| |
* testsuite/lib/systemtap.exp (get_system_info): Remove possible newlines
from GCC_Version string.
|
|
|
|
|
|
|
|
|
|
|
| |
Prints the gcc being used and full version. Also adds short version
number to systemtap.sum file (plus full version string). Will make
comparing failures based on compiler version being used easier.
* testsuite/lib/systemtap.exp (print_systemtap_version): Also print
location and full version of gcc being used.
(get_system_info): Get gcc version number and long version string.
* testsuite/lib/stap_run.exp (print_system_info): Output GCC version.
|
|
|
|
| |
HAVE_NSS related compile time warning.
|
| |
|
|
|
|
|
|
| |
2009-04-08 David Smith <dsmith@redhat.com>
* lib/systemtap.exp (setup_server): Better error handling.
|
|
|
|
|
|
| |
* testsuite/lib/systemtap.exp: Define here.
* testsuite/systemtap.*/*.exp: Use it here. Eliminate duplicated
utrace_support_present logic.
|
| |
|
|
|
|
| |
"oracle-enterprise.patch"
|
|
|
|
|
|
| |
client/server.
Ensure that tests run with/without the server have unique names.
|
| |
|
|
|
|
| |
install time.
|
| |
|
| |
|
| |
|
|
|
|
| |
Makefile.
|
|
|
|
| |
in EXTRA_TOOL_OPTS for 'make check' and 'make installcheck'
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* 'master' of ssh://sources.redhat.com/git/systemtap:
Create user based cache dir in testsuite.
Refresh cscope.files.
Add prototypes for using the 2.6.26 probe_kernel_* functions.
|
| | |
|
|/
|
|
|
|
| |
pipe/zombie cleanup"
This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
|
|
|
|
| |
cleanup
|
|
|
|
|
|
| |
PR 5980.
* lib/systemtap.exp: Set default Snapshot: value from "stap -V"
output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-24 Frank Ch. Eigler <fche@elastic.org>
* Makefile.am: Make another $(MKDIR) call visible.
* Makefile.in: Regenerated.
2008-01-24 Frank Ch. Eigler <fche@elastic.org>
crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>:
* Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST).
* lib/systemtap.exp (as_root): Trace command string, output, and
result.
* sysetmtap.samples/crash.*, testlog.stp: New test case.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac: Generate a build tree SNAPSHOT file from git-rev-list,
if we suspect the source tree came from git.
* configure: Regenerated.
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
|
|
|
|
|
|
|
|
|
|
| |
* testsuite/lib/systemtap.exp (as_root): new proc.
* testsuite/systemtap.context/context.exp:
* testsuite/systemtap.printf/end1b.exp:
* testsuite/systemtap.printf/mixed_outb.exp:
* testsuite/systemtap.printf/out1b.exp:
* testsuite/systemtap.printf/out2b.exp:
* testsuite/systemtap.printf/out3b.exp: Use as_root proc.
|
|
|
|
|
|
|
|
|
|
|
| |
Detect crashing stap and report as a test failure.
* lib/systemtap.exp (stap_run_batch): Return -1 if stap
crashed.
* systemtap.pass1-4/buildko.exp: If stap_run_batch returned
-1 then mark test as failed.
* systemtap.pass1-4/parseko.exp: Ditto.
* systemtap.pass1-4/semko.exp: Ditto.
* systemtap.pass1-4/transko.exp: Ditto.
|
|
|
|
|
| |
* lib/systemtap.exp: New proc get_system_info.
* lib/stap_run.exp: New proc print_system_info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From Quentin Barnes.
* lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp,
systemtap.base/cache.exp, systemtap.base/optim.exp,
systemtap.base/overload.exp, systemtap.base/prologues.exp,
systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp,
systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp,
systemtap.samples/args.exp, systemtap.samples/arith.exp,
systemtap.samples/arith_limits.exp,
systemtap.samples/control_limits.exp, systemtap.samples/lket.exp,
systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp,
systemtap.samples/primes.exp, systemtap.samples/profile.exp,
systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp,
systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp,
systemtap.samples/transport.exp: Small fixes to patterns, plus
fix timeouts for slower systems.
|
|
|
|
|
| |
* lib/systemtap.exp (stap_run_batch): Detect crashing stap and
represent this as failing return code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4171.
* Makefile.am (check, installcheck): Pass build-tree pointers
in environment variables.
* configure.ac: Run separate configury for testsuite/.
* configure, Makefile.in: Regenerated.
2007-03-14 Frank Ch. Eigler <fche@redhat.com>
PR 4171.
* configure.ac, configure, aclocal.m4: New files to permit
testsuite-only build tree.
* Makefile.am (RUNTEST): Arrange a crazy concoction of
environment/make variable for runtest.
* Makefile.in: Regenerated.
* */*.stp: Switch test cases from "./stap" to "stap" throughout.
* lib/systemtap.exp: Assume/trace environment variables.
(stap_run_batch): Add "#! stap"-handling hack.
|
| |
|
|
|
|
|
|
|
|
| |
* systemtap.base/cache.exp: New file that tests caching
functionality.
* lib/systemtap.exp (setup_systemtap_environment): Use a local
systemtap directory/cache (instead of the user's cache).
* .cvsignore: Added .systemtap directory.
|
| |
|
|
|
|
|
| |
* lib/systemtap.exp (stap_run_batch): New helper routine.
* systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack.
|
|
* configure.ac, Makefile.am: Descend into testsuite/
directory. Remove local test logic.
* configure, Makefile.in: Regenerated.
* runtest.sh: Not yet removed.
* HACKING: Update for new testsuite layout.
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* all: Reorganized old pass-1..4 tests one dejagnu bucket.
Moved over old pass-5 tests, except for disabled syscalls tests.
* Makefile (installcheck): New target for running pass-1..5
tests against installed systemtap.
|