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.