2008-02-23 Frank Ch. Eigler * systemtap.printf/*.exp: Canonicalize pass/fail messages. 2008-02-23 Frank Ch. Eigler * systemtap.samples/args.exp: Remove installation-specific paths from pass/fail judgements. 2008-02-23 Frank Ch. Eigler * */*.exp: Change all "send \003" to "exec kill -INT -" in order to more reliably kill an inferior stap/stapio/staprun process group. 2008-02-22 Frank Ch. Eigler * semko/fortyfive.stp: Add ".call" to exclude false (?) positives from inlined instances defined in header files. 2008-02-22 Frank Ch. Eigler * systemtap.base/stmtvars.exp: New test for PR 5787. 2008-02-21 Will Cohen * systemtap.base/beginenderror.exp: Increase timeout for slow machines. 2008-02-20 David Smith * systemtap.base/marker.exp: Added tests for marker probe ".format" component. 2008-02-19 Frank Ch. Eigler PR5766. * semko/fortyfive.stp: New test. 2008-02-19 Frank Ch. Eigler PR5771. * transko/one.stp: Remove, or rather, move to this ... * semko/zero.stp: new file. 2008-02-12 Frank Ch. Eigler * systemtap.context/context.exp: Build temporary modules under build tree, to tolerate read-only source trees. * {args,backtrace,pid}.tcl: Corresponding changes. * systemtap_test_module2.c: Add a bunch of asm("")'s to prevent inlining even better than noinline does. 2008-02-12 Frank Ch. Eigler * systemtap.pass1-4/buildok.exp: No longer kfail buildok/seventeen. 2008-02-07 Martin Hunt * systemtap.base/debugpath.exp: Remove explicit closes. Stap will terminate without help, and cleanup after itself. 2008-02-06 Masami Hiramatsu * systemtap.context/backtrace.tcl: Fixed regular expressions and Added new expression for checking return probe's stacktrace on ia64. * systemtap.context/backtrace.stp (print_all_trace_info): Added trace point output before calling print_stack(). 2008-02-06 Masami Hiramatsu * systemtap.base/cmd_parse.exp: Added 'wait' between tests for preventing unexpected EOF. 2008-02-06 Masami Hiramatsu * systemtap.base/procfs.exp: Added PROCFS.ko cleanup. * systemtap.context/context.exp: Added cleanup call. * systemtap.printf/end1b.exp: Passed evaluated command string to as_root. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3b.exp: Ditto. 2008-02-04 David Smith PR 4446. * systemtap.base/marker.exp: Added tests for marker "$format" variable. 2008-02-01 Martin Hunt PR4736 * systemtap.printf/stap_merge.tcl: Copied here so it will always be available. 2008-01-31 Will Cohen * systemtap.pass1-4/buildok.exp: Add some kfails. 2008-01-29 Frank Ch. Eigler * Makefile.am (clean-local): Allow "rm -rf" to fail due to root-owned .ko files in the local cache. * Makefile.in: Regenerated. 2008-01-26 Frank Ch. Eigler PR 5673. * testsuite/parseko/maxactive{04,05}.stp: New tests. 2008-01-24 Frank Ch. Eigler crash(8) tests, based on Masami Hiramatsu : * Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST). * lib/systemtap.exp (as_root): Trace command string, output, and result. * systemtap.samples/crash.*, testlog.stp: New test case. * Makefile.in: Regenerated. 2008-01-23 Frank Ch. Eigler PR 2521. * systemtap.base/debugpath.exp: New test. 2008-01-18 Frank Ch. Eigler * configure.ac: Bump version to 0.6.1. * configure: Regenerated. 2008-01-17 Frank Ch. Eigler PR 4935. * semko/forty.stp, fortyone.stp, fortytwo.stp: New tests. * semok/twentynine.stp: Weaken test since condition expressions have become more tightly constrained. 2008-01-17 David Smith * semko/procfs11.stp: Added test for invalid use of procfs probe '$value' target variable. * semko/procfs12.stp: Ditto. 2008-01-16 David Smith PR 5608. * systemtap.base/marker.exp: Added 2 tests for treating marker arguments incorrectly. 2008-01-16 Eugene Teo * buildok/signal-embedded.stp: Add all new embedded C functions in signal. 2008-01-14 Frank Ch. Eigler PR 4935. * systemtap.base/onoffprobe.*: Toughen test. 2008-01-12 Frank Ch. Eigler * lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too. 2008-01-09 Masami Hiramatsu PR5554 * systemtap.syscall/alarm.c: Fix expected output patterns on ia64. * systemtap.syscall/stat.c: Ditto. 2008-01-09 Masami Hiramatsu PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe. 2008-01-07 William Cohen * lib/systemtap.exp (as_root): new proc. * systemtap.context/context.exp: * systemtap.printf/end1b.exp: * systemtap.printf/mixed_outb.exp: * systemtap.printf/out1b.exp: * systemtap.printf/out2b.exp: * systemtap.printf/out3b.exp: Use as_root proc. 2008-01-04 David Smith * systemtap.base/marker.exp: Improved regexp that finds markers with arguments. 2007-12-12 Martin Hunt 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. 2007-12-05 Masami Hiramatsu PR 4935 * parseok/five.stp: Add an example of conditional probe point. * parseko/probepoint04.stp: New test for conditional probe point. * parseko/probepoint05.stp: Ditto. * parseko/probepoint06.stp: Ditto. * parseko/probepoint07.stp: Ditto. * parseko/probepoint08.stp: Ditto. * parseko/probepoint09.stp: Ditto. * semok/twentynine.stp: Ditto. * semko/thirtynine.stp: Ditto. * systemtap.base/onoffprobe.*: Ditto. 2007-12-03 Masami Hiramatsu PR 5376 * perseko/twentytwo.stp: Change testcase to the wildcarded probe points with spaces. 2007-11-29 David Smith * systemtap.base/marker.exp: Gets marker list from Module.markers. K_MARKER03 is always run since it is designed to fail. 2007-11-27 David Smith * semok/twentyeight.stp: Tests wildcarded probe points. 2007-11-19 Frank Ch. Eigler * parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag. 2007-11-15 David Smith * systemtap.base/marker.exp: Removed 'module("foo").mark("bar")' tests since that facility was removed. 2007-11-12 Martin Hunt * systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto. 2007-11-09 Masami Hiramatsu PR3858 * systemtap.printf/sharedbuf.exp: New test for buffer sharing option. * systemtap.printf/sharedbuf.stp: Ditto. * systemtap.printf/hello.stp: Ditto. * systemtap.printf/hello2.stp: Ditto. 2007-10-25 Martin Hunt * systemtap.printf/printd.exp: New. Runs printd.stp and printdln.stp. * systemtap.printf/printdln.stp: Removed bad tests. * systemtap.printf/printd.stp: Ditto. 2007-10-25 Martin Hunt * systemtap.printf/print_char.*: New test. * systemtap.printf/print.*: New test. * systemtap.printf/println.*: New test. * systemtap.maps/elision.*: New tests. * config/unix.exp: Added stap_run_exact. * lib/stap_run_exact.exp: New. Like stap_run2 but takes a seperate test name. 2007-10-25 Martin Hunt * systemtap.printf/printd.stp: New * systemtap.printf/printdln.stp: New 2007-10-16 Martin Hunt PR 5000 * systemtap.printf/bin3.stp. Removed. * systemtap.printf/bin3a.stp. Renamed bin3.stp. * systemtap.printf/bin4.stp. Removed. * systemtap.printf/bin4a.stp. Renamed bin4.stp. * systemtap.printf/bin5.stp. Removed. * systemtap.printf/bin5a.stp. Renamed bin5.stp. * systemtap.printf/bin3.exp: Don't run bin3a.stp. * systemtap.printf/bin4.exp: Don't run bin4a.stp. * systemtap.printf/bin5.exp: Don't run bin5a.stp. Increase reliability under loads. * systemtap.samples/pfaults.exp: Increase MAXACTION. * systemtap.context/backtrace.tcl: Handle just a single userspace address. 2007-10-05 Frank Ch. Eigler PR 1119. * systemtap.base/warnings.*: New test. 2007-10-05 Martin Hunt * buildok/aux_syscalls-embedded.stp: Add all embedded C function in aux_syscalls. 2007-10-04 Frank Ch. Eigler * buildok/inet-embedded.stp: Test inet.stp functions. 2007-10-04 Mike Mason * buildok/memory-all-probes.stp: New test that uses wildcarding to determine if all probes are resolvable. * buildok/nfs-all-probes.stp: Ditto * buildok/nfsd-all-probes.stp: Ditto * buildok/process-all-probes.stp: Ditto * buildok/rpc-all-probes.stp: Ditto * buildok/scheduler-all-probes.stp: Ditto * buildok/scsi-all-probes.stp: Ditto * buildok/signal-all-probes.stp: Ditto * buildok/socket-all-probes.stp: Ditto * buildok/tcp-all-probes.stp: Ditto * buildok/udp-all-probes.stp: Ditto * buildok/vfs-all-probes.stp: Ditto 2007-10-03 Frank Ch. Eigler * systemtap.syscall/test.tcl: Don't list PASS on stdout. 2007-10-02 Frank Ch. Eigler PR 5078 * semok/twentysix.stp, systemtap.base/beginenderror.*: New tests. 2007-10-02 William Cohen * systemtap.syscall/signal.c: * systemtap.syscall/uid16.c: Compilation regardless of defines. * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly. 2007-09-28 Wenji Huang * lib/systemtap.exp: New proc get_system_info. * lib/stap_run.exp: New proc print_system_info. 2007-09-27 Masami Hiramatsu PR3916 * systemtap.sample/gtod.*: New test for gettimeofday accuracy. 2007-09-25 Martin Hunt * systemtap.context/backtrace.tcl: Handle single line timer.profile backtraces. 2007-09-25 David Smith * systemtap.base/marker.exp: Improved regexp to work correctly on kernels with no markers. * systemtap.base/marker.exp: Updated for the 9/18/2007 markers patch. 2007-09-24 Frank Ch. Eigler * systemtap.samples/examples.exp: New file, replacing * buildok/examples.stp: Removed. 2007-09-24 Frank Ch. Eigler * buildok/*-embedded.stp: New test case for every embedded-C function in the tapsets. 2007-09-22 Frank Ch. Eigler * systemtap.maps/linear_overunder.exp: Correct for actual data. 2007-09-22 Frank Ch. Eigler PR 5057. * systemtap.maps/linear_nearlyempty.*: New test for histogram printing elision. 2007-09-22 Frank Ch. Eigler * systemtap.base/optim.exp: Wait for both result lines. 2007-09-21 Martin Hunt * systemtap.maps/linear*: Updated linear histogram tests. * lib/stap_run2.exp (stap_run2): Use send_log() instead of puts to save failure context in the log. 2007-09-21 Frank Ch. Eigler * systemtap.base/optim.exp/stp: New test for rhbz# 300121. 2007-09-18 David Smith * systemtap.base/procfs.exp: New test case. * lib/stap_run.exp (stap_run): Handles the case where the stap '-m' option was used. 2007-09-17 David Smith * semko/procfs06.stp: New test case. * semko/procfs07.stp: Ditto. * semko/procfs08.stp: Ditto. * semko/procfs09.stp: Ditto. * semko/procfs10.stp: Ditto. 2007-09-15 Wenji Huang PR 4930 * buildok/examples.stp: New test case. 2007-09-14 David Smith PR 1154 * buildok/procfs01.stp: New test case. * semko/procfs01.stp: Ditto. * semko/procfs02.stp: Ditto. * semko/procfs03.stp: Ditto. * semko/procfs04.stp: Ditto. * semko/procfs05.stp: Ditto. 2007-09-13 Martin Hunt * systemtap.base/limits.exp: New. Test 32 and 64-bit integer extremes. 2007-09-12 Frank Ch. Eigler * buildok/print_histograms.stp: Test println(@hist*()). 2007-09-12 Frank Ch. Eigler PR 5023. * buildok/ten.stp: Extend some more. 2007-09-12 Martin Hunt * systemtap.maps/foreach_limit.stp: Clean up the aggregates section. * systemtap.maps/foreach_limit2.stp: Remove newline that was confusing the output match. * systemtap.maps/linear_bad.exp: Fix expected output. * systemtap.maps/linear_neg.exp: Ditto. * systemtap.maps/log.*: New files. * systemtap.maps/log_edge.*: New files. * lib/stap_run2.exp (stap_run2): Rewrite. Previous version was too complex and buggy. 2007-09-12 Masami Hiramatsu PR 4633 * systemtap.context/backtrace.stp: Add testcases for the return probe and the profile probe. * systemtap.context/backtrace.tcl: Ditto. * systemtap.context/systemtap_test_module2.c: Ditto. 2007-09-12 Frank Ch. Eigler PR 5023. * buildok/ten.stp: Reactivate and extend. 2007-09-11 Josh Stone PR 5014 * systemtap.maps/pmap_agg_overflow.stp: Ensure that the percpu arrays don't overflow before we get the chance to test aggregation overflow. Also use a more optimal overflow limit (MAXMAPENTRIES + 1). 2007-09-10 Wenji Huang * systemtap.stress/current.stp: Make module probe optional. * buildok/four.stp: Ditto. * buildok/twentyfive.stp: Ditto. * semok/twelve.stp: Ditto. 2007-09-06 Masami Hiramatsu PR 4542 * systemtap.stress/current.stp: Don't probe the return of __switch_to on i686. 2007-08-27 Martin Hunt * systemtap.context/context.exp (build_modules): Change build order to prevent messages about no version for yyy_int64. 2007-08-24 Frank Ch. Eigler PR 4899 * buildok/fortytwo.stp: New test. * semko/thirtynine.stp: Removed test, now that bug #1305 has become mooted/undone. 2007-08-21 David Smith * foreach_limit.stp: Added test for sorting numeric arrays by value. * foreach_limit.exp: Ditto. PR 2305 * foreach_limit2.stp: New file. Tests sorting aggregate arrays by value. * foreach_limit2.exp: Ditto. 2007-08-21 Frank Ch. Eigler PR 4942 * systemtap.base/kmodule.stp: Add "never" probe for type inference. 2007-08-20 Martin Hunt * systemtap.base/cmd_parse.exp: New file. Test command parsing for "-c". 2007-08-20 David Smith * parseko/cmdline15.stp: Added new test to make sure options '-c cmd' and '-x pid' are mutually exclusive. * parseko/cmdline16.stp: Ditto. 2007-08-16 Frank Ch. Eigler PR 1315. * buildok/fortyfive.stp: New test. 2007-08-16 Josh Stone PR 4591 * lib/stap_run.exp: Make sure to match the entire output, in case there are multiple pass/fail messages. * buildok/printf.stp: Add lines for new print variants. * parseko/printd01.stp: Make sure that bad printd calls are handled. * parseko/printd02.stp: Ditto. * parseko/printd03.stp: Ditto. * parseko/printd04.stp: Ditto. * systemtap.base/print.stp: Try a bunch of different print calls. * systemtap.base/print.exp: Driver for above. 2007-08-15 Martin Hunt * systemtap.printf/*b.exp: Use stap_merge.tcl. 2007-08-14 David Smith Merge from setuid-branch. * configure.ac: Version increase to 0.6. * configure: Regenerated. * parseko/cmdline09.stp: Added new test for staprun command line options. * parseko/cmdline10.stp: Ditto. * parseko/cmdline11.stp: Ditto. * parseko/cmdline12.stp: Ditto. * parseko/cmdline13.stp: Ditto. * parseko/cmdline14.stp: Ditto. * systemtap.samples/args.exp: No longer necessary to use "sudo" to run staprun. 2007-08-07 Frank Ch. Eigler PR 4846 * parseko/preprocess13.stp, parseok/nineteen.stp, semok/twentyfive.stp: New tests. 2007-08-07 David Smith PR 4736 (partial fix) * systemtap.printf/end1b.exp: Changed 'FAIL' to 'fail', so the rest of the testsuite will continue. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3b.exp: Ditto. 2007-08-02 Mike Mason * systemtap.samples/profile.stp: Changed limit check in foreach loop. 2007-08-01 Mike Mason * systemtap.samples/profile.stp: Changed pid to tid throughout. Changed delete method in decumulate(). 2007-07-26 David Smith PR 4295 * systemtap.samples/args.exp: Tests to make sure the '-m' option leaves a module in the current directory. * systemtap.base/cache.exp (stap_compile): Added cleanup. 2007-07-25 Mike Mason PR 4836 * systemtap.samples/pfault.stp: Changed to use memory tapset pagefault probes. 2007-07-25 Mike Mason PR 4836 * buildok/twentytwo.stp, buildok/twentythree.stp: Changed free_task() probes to deactivate_super() probes. Changed references to timestamp in task_struct to s_maxbytes in super_block. timestamp was removed from task_struct in 2.6.23. s_maxbytes is an unsigned long long in every kernel I checked back to 2.4.18. 2007-07-12 David Smith * systemtap.maps/pmap_agg_overflow.exp: On single processor systems, this test reported an unsupported test and a test failure when it should have only reported an unsupported test. Fixed. 2007-07-10 Martin Hunt * systemtap.context/context.exp: Copy modules to /lib/modules/`uname -r`/kernel for debug info. 2007-07-10 Martin Hunt * systemtap.context/pid.tcl: Don't try to get real ppid, just match pattern. 2007-07-09 Martin Hunt * systemtap.context/systemtap_test_module1.c (stm_write_cmd): Set pointer type to "char *" so get_user() fetches a char. 2007-07-06 Martin Hunt * systemtap.maps/linear*: New tests of linear histograms. 2007-07-03 Frank Ch. Eigler * configure.ac: Bumped version to 0.5.15. * configure: Regenerated. 2007-07-03 Martin Hunt * systemtap.context/pid.tcl: Better error reporting. * systemtap.context/args.*: Ditto. * systemtap.context/context.exp: Build in temp dir. 2007-07-02 Martin Hunt * systemtap.context/context.exp: Add pid tests. * systemtap.context/pid.*: New tests. 2007-07-02 Martin Hunt * systemtap.context/*: New context tests. 2007-06-25 Martin Hunt * systemtap.maps/pmap_agg_overflow.exp: Rewrite so order of error messages is not important. 2007-06-22 Frank Ch. Eigler * systemtap.syscall/readwrite.c: Tweak for new default string truncation width. 2007-06-21 David Smith * Makefile.in: Regenerated with automake 1.10. * aclocal.m4: Regenerated with aclocal 1.10. * configure: Regenerated. 2007-06-20 Martin Hunt * systemtap.string/dot.exp: New test. * systemtap.string/sprint.exp: New test. * systemtap.samples/transport*: Removed. 2007-06-20 Martin Hunt * systemtap.printf/*b.exp: Add code to look in the toplevel directory for stap_merge. 2007-06-18 Martin Hunt 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. 2007-06-15 Frank Ch. Eigler * lib/systemtap.exp (stap_run_batch): Detect crashing stap and represent this as failing return code. 2007-06-14 Martin Hunt * systemtap.samples/syscalls.stp: Use printf for output to avoid problems with long paths. From Quentin Barnes. * systemtap.samples/system_func.exp: Change expect matching. 2007-06-14 David Smith * systemtap.samples/profile.stp: Change output to avoid problems when kernel source path is long. 2007-06-05 Frank Ch. Eigler PR 3331. * systemtap.base/deref2.*: New test, disabled. 2007-06-04 Frank Ch. Eigler PR 4589. * systemtap.base/optim.*: Rewritten, simplified. 2007-05-30 Frank Ch. Eigler PR 4567. * systemtap.base/optim.stp, optim.exp: New test. 2007-05-29 Will Cohen PR4540 * systemtap.stress/conversions.exp: Adjust for ia64 address space. 2007-05-25 Martin Hunt * systemtap.samples/lket.exp (cleanfiles): Set timeout inside expect. * systemtap.maps/absentstats.exp: Set timeout inside expect. * lib/stap_run2.exp (stap_run2): Set timeout to 180 inside expect. * lib/stap_run.exp (stap_run): Set timeout to 180 for slower machines. Remove $ anchor on output. Fix a few minor nits in patterns. 2007-05-24 David Smith PR4446 * systemtap.base/marker.exp: Renumbered tests and added new tests for invalid argument name ("$foo1") and writing to marker arguments. 2007-05-23 David Smith PR4446 * systemtap.base/marker.exp: Added new marker test. * buildok/marker.stp: Removed old marker test. 2007-05-08 Will Cohen PR4470 * testsuite/systemtap.syscall/syscall.exp: Build correct sizes for 32-bit and 64-bit machines. 2007-05-07 Martin Hunt PR4466 * systemtap.samples/system_func.stp: Rewrite test to account for probes not being placed until after begin. * systemtap.samples/system_func.exp: Only expect 1 sys_open. 2007-05-06 Frank Ch. Eigler * semko/thirtynine.stp: New test. 2007-05-01 Martin Hunt * systemtap.samples/system_func.*: New test. 2007-05-01 Martin Hunt * systemtap.samples/sysopen*: Deleted. 2007-04-29 Frank Ch. Eigler * Makefile.am (EXTRA_DIST): Add dejagnu subdirectories. * configure.ac: Bump version to match parent directory. * Makefile.in, configure: Regenerated. 2007-04-25 David Wilder * systemtap.samples/profile.exp Increased timeout from 30 to 60 sec to fix intermittent failures on s390x. 2007-04-25 Mike Mason * buildok/socket.stp: Adapted to changes in 2.6.19 socket routines. 2007-04-24 Will Cohen * buildok/memory.stp: Test vm.pagefault.return. 2007-04-23 Frank Ch. Eigler * systemtap.pass1-4/buildok.exp: Add some kfails. 2007-04-10 Martin Hunt * systemtap.printf/out*: New output tests to stress output buffering and transport. * systemtap.printf/mixed*: More output tests mixing print, printf, and print_char. * systemtap.printf/end*: Test that output from end probes is all sent. 2007-04-05 Martin Hunt * systemtap.samples/arith_limits.exp: Set test name correctly. 2007-04-04 Pierre Peiffer * parseok/fourteen.stp: Add test about $# and @# usage during the preprocessing. * parseko/preprocess10.stp: New test. * parseko/preprocess11.stp: New test. * parseko/preprocess12.stp: New test. 2007-04-02 Frank Ch. Eigler * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp: Continue adopting to .inline -> .function change. * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto. * semko/twentyone.stp: Ditto. 2007-03-30 Frank Ch. Eigler PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose. 2007-03-29 Frank Ch. Eigler * systemtap.maps/ix_*.exp: Add catch around close. 2007-03-29 Frank Ch. Eigler * systemtap.maps/pmap_agg_overflow.exp: Robustify with respect to expected error messages and early quitting. 2007-03-29 David Smith PR 4281 * parseko/cmdline07.stp: New test. * parseko/cmdline08.stp: New test. 2007-03-22 Frank Ch. Eigler PR 4224. * systemtap.base/probefunc.exp: Use kernel.statement().absolute instead with grep-found schedule_tick address. * semko/thirtyseven.stp, thirtyeight.stp: New tests. * buildok/twentyeight.stp: New test. 2007-03-22 David Smith * systemtap.stress/conversions.exp: Fixed test case bug that only affected s390x. 2007-03-21 David Smith PR 4146 * systemtap.samples/control_limits.exp: Begin/end probes use MAXACTION_INTERRUPTIBLE instead of MAXACTION. 2007-03-09 Pierre Peiffer * buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20. 2007-03-19 David Smith * .cvsignore: Added systemtap.syscall test programs. 2007-03-16 David Smith * systemtap.base/overload.exp: New test. 2007-03-15 David Smith * .cvsignore: Added "config.log" and "config.status". 2007-03-14 Frank Ch. Eigler 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. 2007-03-14 Martin Hunt * systemtap.base/div0.stp: Fix so output won't possibly have the error message before the printed output. * systemtap.base/maxactive.exp: Ditto. * systemtap.maps/ix_clear.stp: Ditto. * systemtap.maps/ix_clear2.stp: Ditto. * systemtap.samples/args.exp: Remove obsolete "-r" option to staprun. 2007-03-07 Frank Ch. Eigler PR 4116. * buildok/twentyseven.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it. 2007-03-06 David Smith * systemtap.base/alternatives.exp: Changed the probed kernel function from 'signal_wake_up' (which wasn't present on some kernels) to 'sys_getrlimit'. 2007-03-02 Frank Ch. Eigler PR 4121 * systemtap.stress/conversions.exp: Fix & improve below patch. 2007-03-01 Frank Ch. Eigler PR 4121 * systemtap.stress/conversions.exp: Bypass address=0 test for s390x. 2007-02-27 Frank Ch. Eigler PR 4105 * buildok/twentysix.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it. 2007-02-19 David Smith PR 4081 * Makefile.am: The symbolic link that the Makefile creates to stap now points to the installed version of stap when "make installcheck" is run. * Makefile.in: Regenerated. 2007-02-16 David Smith * systemtap.base/alternatives.exp: New test case. 2007-02-09 Frank Ch. Eigler * systemtap.base/prologue.*: New test case. 2007-02-06 Josh Stone * systemtap.base/deref.stp: Test kread with const sources. 2007-02-06 Frank Ch. Eigler * buildok/conversions.stp: Build-test all conversions.stp functions. * systemtap.stress/conversions.*: New test. 2007-01-29 Frank Ch. Eigler * systemtap.base/cache.exp (stap_compile): Accept new -p4 output. 2007-01-24 Will Cohen * systemtap.syscall/syscall.exp: Increase timeout for slow machines. 2007-01-23 Frank Ch. Eigler * systemtap.pass1-4/buildok.exp: Remove most kfail designations. 2007-01-23 Mike Mason * buildok/socket.stp: Added sockets tapset build test. 2007-01-23 Mike Mason * systemtap.string/tokenize.exp, systemtap.string/tokenize.stp, systemtap.string/strtol.exp, systemtap.string/strtol.stp: Tests for new tokenize and strtol functions. 2007-01-22 Josh Stone * systemtap.base/deref.stp: Rewrite test, and now also check the ability to read/write pointers. 2007-01-22 Frank Ch. Eigler * config/unix.exp: New file as a master load_lib repository. * */*.exp: Removed load_lib calls. * parseko/cmdline01.stp: Swallow expected stap ERROR: message. * systemtap.syscall/syscall.exp: Added installmode_p checks. 2007-01-22 Martin Hunt * systemtap.maps/exists.stp: New test to see if array elements exist using the "in" keyword. 2007-01-20 Mike Mason PR 3899 * systemtap.base/kmodule.stp: Added probes for other modules that allow the test to pass when ext3 isn't built as a module. 2007-01-19 Josh Stone PR 3079 * systemtap.base/deref.stp: Use the new kread macro that should work fine with 64-bit numbers on i386 platforms. Also expand the test to include writes with kwrite. * systemtap.base/deref.exp: Remove the setup_kfail. 2007-01-16 Mike Mason * buildok/eighteen.stp: changed to find __audit_getname or audit_getname without checking kernel version to support audit code backports 2007-01-13 Mike Mason PR 3867 * systemtap.samples/ioblocktest.stp: Fixed so only checks bit 0 (Read/Write bit) of bio->bi_rw. Also merged ioblock.request and ioblock.end probes. They do the same thing. 2007-01-10 Martin Hunt * systemtap.maps/foreach_foreach.exp: Update for new delete func. * systemtap.maps/ii.exp: Ditto. * systemtap.maps/ii.stp: Ditto. * systemtap.maps/iiiiii.exp: Ditto. * systemtap.maps/iiiiii.stp: Ditto. * systemtap.maps/is.stp: Ditto. * systemtap.maps/si.exp: Ditto. * systemtap.maps/si.stp: Ditto. * systemtap.maps/ss.stp: Ditto. 2006-12-29 Frank Ch. Eigler PR 3523. * buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test. * systemtap.base/bench.stp: Work around randomized-ordered probes. * systemtap.base/bench.exp: Tighten output requirements. 2006-12-22 Josh Stone * buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp, parseko/array03.stp, parseko/array04.stp, transko/array01.stp, systemtap.base/array_size.exp, systemtap.base/array_size.stp: Tests for specifying the size of global arrays. 2006-12-22 David Smith * systemtap.base/cache.exp: Added test to ensure that using '-M' and '-t' changes the hash. The '-t' test is commented out until PR3523 is fixed. 2006-12-21 David Smith * systemtap.base/cache.exp: Added test to ensure that using '-b' changes the hash. 2006-12-19 Frank Ch. Eigler PR 3522. * buildok/twentyfive.stp: New test for static $var access. 2006-12-18 Josh Stone * systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for successfully dereferencing pointers of various sizes. This is known to fail on x86 for 64-bit values -- PR 3079. 2006-12-18 David Smith * systemtap.samples/pfaults.stp: Since PR 1132 has been fixed, updated to use "$return". 2006-12-08 Josh Stone PR 3681. * systemtap.base/global_init.exp, systemtap.base/global_init.stp: New test for checking the timeliness of global initialization. 2006-12-07 Josh Stone PR 3624. * systemtap.base/be_order.exp, systemtap.base/be_order.stp, semok/beginend.stp: New tests for begin/end priorities. * lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output. * systemtap.base/maxactive.exp: Fix to compare output to the end. * systemtap.base/probefunc.exp: Ditto. * systemtap.samples/ioblocktest.exp: Ditto. * systemtap.samples/ioblocktest.stp: Ditto. * systemtap.samples/tcptest.exp: Ditto. 2006-11-30 Martin Hunt * systemtap.samples/pfaults.exp: Fix regular expression to handle buffering issues that broke on MP systems. 2006-11-29 Li Guanglei From Gui Jian * systemtap.samples/lket.exp: Increase MAXSKIPPED and timeout thresholds; Fix the code of cleaning temporary files * systemtap.stress/whitelist.stp: New testcase to generate safe probes. 2006-11-28 David Smith * semko/thirtyfour.stp: Checks for writing to target variable in .return probe. * semok/twentyfour.stp: Tests read access to target variable in .return probe. 2006-11-21 Li Guanglei From Gui Jian * systemtap.samples/lket.exp, systemtap.samples/lket.stp: add testcase for LKET 2006-11-19 Frank Ch. Eigler * parseko/twentythree.stp: New test for running tapset file. 2006-11-17 Frank Ch. Eigler * semko/thirtysix.stp, transko/three.stp: New tests. 2006-11-16 Li Guanglei * buildok/lket.stp: check for all available LKET trace hooks. 2006-11-10 David Smith * semko/maxactive03.stp: Stop on pass2 instead of on pass1. * lib/stap_run.exp: As a side-effect, stap_run() sets global 'probe_errors' and 'skipped_probes' to the number of probe errors and skipped probes seen while running the probe. * systemtap.base/maxactive.exp: Uses extended stap_run() to find number of skipped probes instead of using private stap_run() variant. 2006-11-09 David Smith * buildok/maxactive01.stp: Added test for "maxactive(N)" return probe processing. * parseko/maxactive01.stp: Ditto. * parseko/maxactive02.stp: Ditto. * parseko/maxactive03.stp: Ditto. * parseko/maxactive04.stp: Ditto. * semko/maxactive01.stp: Ditto. * semko/maxactive02.stp: Ditto. * semko/maxactive03.stp: Ditto. * systemtap.base/maxactive.exp: Ditto. 2006-11-06 David Smith * systemtap.maps/foreach_limit.exp: Added new test for foreach "limit" keyword. * systemtap.maps/foreach_limit.stp: Ditto. * parseko/foreachstmt06.stp: Added new test for foreach "limit" keyword. * parseko/foreachstmt07.stp: Ditto. * parseok/foreachstmt01.stp: Ditto. * semko/foreachstmt01.stp: Ditto. * semko/foreachstmt02.stp: Ditto. 2006-11-02 Thang Nguyen * systemtap.samples/tcptest.exp: Put TCP load gen into a a seperate script. * systemtap.samples/tcptest.tcl: new script for TCP load gen. 2006-10-30 Josh Stone * systemtap.maps/pmap_agg_overflow.stp: Use kernel.function("scheduler_tick") instead of timer.jiffies so the test works on all kernels. The test needs a probe that is invoked often on all cpus. * systemtap.base/timers.stp: Fudge the comparison a bit between jiffies(1) and profile to allow for slop between start/end times. 2006-10-30 Martin Hunt * systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies instead of timer.profile so the test works on xen kernels. 2006-10-30 David Smith * systemtap.base/cache.exp: Saves value of SYSTEMTAP_DIR environment variable before starting tests and restores value at the end. Without this caching was broken for the rest of the testsuite, since all cached files were ending up in testsuite/.cache_test (which gets deleted on the next run of the testsuite). * Makefile.am: The 'clean-local' target now removes the .systemtap and .cache_test directories. * Makefile.in: Regenerated. 2006-10-30 Martin Hunt * systemtap.base/cache.exp (stap_compile): Fix a simple buffering problem with expect. 2006-10-26 David Smith * 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. 2006-10-23 David Smith * lib/stap_run.exp: Handles cached module. * lib/stap_run2.exp: Ditto. 2006-10-23 William Cohen * systemtap.maps/absentstats.exp: Increase timeout for slow machines. 2006-10-21 Thang Nguyen * systemtap.samples/tcptest.exp: fix bug #3404 * systemtap.samples/tcptest.stp: fix bug #3404 2006-10-18 David Smith * systemtap.syscall/.cvsignore: Added file. 2006-09-28 Martin Hunt * buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto. 2006-09-27 Josh Stone * buildok/fourteen.stp: Test new timer functionality. 2006-09-26 David Smith * systemtap.samples/args.exp: Looks for 'staprun' instead of 'stpd'. 2006-09-20 Josh Stone PR 3233 * buildok/timestamp.stp: add gettimeofday_ns test. 2006-09-12 David Smith * Added .cvsignore file. 2006-09-09 Frank Ch. Eigler * lib/systemtap.exp (stap_run_batch): New helper routine. * systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack. 2006-09-06 Frank Ch. Eigler * parseok/eighteen.stp, semok/twentythree.stp: New files for testing initialized globals. 2006-08-21 Martin Hunt * lib/stap_run.exp: Check for existence of installtest_p before running it. This reenables running individual tests with runtest. * lib/stap_run2.exp: Ditto. * lib/stap_run_binary.exp: Ditto. 2006-08-12 Frank Ch. Eigler * Makefile.am (clean-local): Clean up dejagnu turds. * Makefile.in: Regenerated. 2006-08-12 Frank Ch. Eigler * 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.