summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps
Commit message (Collapse)AuthorAgeFilesLines
* Add simple test for PR10257 (sprint(@hist_linear)).Przemysław Pawełczyk2010-02-112-0/+18
| | | | | | | | | | Test is simple, because print and sprint uses the same code for handling @hist_* and it is not intended for playing with MAXSTRINGLEN, which is required anyway for bigger histograms (the one generated here consists of only 127 characters). When PR10690 (need way to produce bigger procfs output) will be fixed, then we should add another test for both PRs with normal histogram.
* Make stap_run2 count exact number of lines.Mark Wielaard2009-03-0919-31/+12
| | | | | * testsuite/lib/stap_run2.exp: Compare found and expected number of lines. * testsuite/systemtap.*/*.exp (result_string): Make number of lines exact.
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-289-9/+18
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-279-18/+9
| | | | cleanup
* PR6538: more testsuite tweaks for read-only warningsFrank Ch. Eigler2008-05-211-2/+1
|
* PR6538: explain why absentstats.stp logs will contain warningsFrank Ch. Eigler2008-05-211-0/+4
|
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-234-4/+4
| | | | | | | 2008-02-23 Frank Ch. Eigler <fche@elastic.org> * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order to more reliably kill an inferior stap/stapio/staprun process group.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-2/+2
| | | | | | | | * 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-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-252-0/+451
| | | | | | | | | | | | * 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-09-22 Frank Ch. Eigler <fche@elastic.org>fche2007-09-221-3/+3
| | | | * systemtap.maps/linear_overunder.exp: Correct for actual data.
* PR 5057: histogram zero elisionfche2007-09-222-0/+43
| | | | | | | | | | | | | | | 2007-09-22 Frank Ch. Eigler <fche@elastic.org> PR 5057. * stat-common.c (_stp_stat_print_histogram): Elide consecutive zero rows beyond 2*STAT_ELISION+1. (STAT_ELISION): New parameter, default 2. 2007-09-22 Frank Ch. Eigler <fche@elastic.org> PR 5057. * systemtap.maps/linear_nearlyempty.*: New test for histogram printing elision.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-218-2/+191
| | | | * systemtap.maps/linear*: Updated linear histogram tests.
* 2007-09-12 Martin Hunt <hunt@redhat.com>hunt2007-09-129-22/+290
| | | | | | | | | | | | | | | | | * 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-11 Josh Stone <joshua.i.stone@intel.com>jistone2007-09-111-4/+10
| | | | | | * 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-08-21 David Smith <dsmith@redhat.com>dsmith2007-08-214-29/+300
| | | | | | | | | | | * 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-07-12 David Smith <dsmith@redhat.com>dsmith2007-07-121-1/+4
| | | | | | * 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-06 Martin Hunt <hunt@redhat.com>hunt2007-07-0614-0/+321
| | | | * systemtap.maps/linear*: New tests of linear histograms.
* 2007-06-25 Martin Hunt <hunt@redhat.com>hunt2007-06-251-15/+23
| | | | | * systemtap.maps/pmap_agg_overflow.exp: Rewrite so order of error messages is not important.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-186-7/+12
| | | | | | | | | | | | | | | | | | 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-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-251-1/+1
| | | | | | | | * 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-03-29 Frank Ch. Eigler <fche@elastic.org>fche2007-03-293-3/+3
| | | | * systemtap.maps/ix_*.exp: Add catch around close.
* 2007-03-29 Frank Ch. Eigler <fche@elastic.org>fche2007-03-291-2/+2
| | | | | * systemtap.maps/pmap_agg_overflow.exp: Robustify with respect to expected error messages and early quitting.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-142-3/+10
| | | | | | | | | | | * 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-01-22 Frank Ch. Eigler <fche@redhat.com>fche2007-01-2210-20/+0
| | | | | | | * 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 <hunt@redhat.com>hunt2007-01-222-0/+65
| | | | | * systemtap.maps/exists.stp: New test to see if array elements exist using the "in" keyword.
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-109-22/+46
| | | | | | | | | | | | * 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-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-062-0/+218
| | | | | | * systemtap.maps/foreach_limit.exp: Added new test for foreach "limit" keyword. * systemtap.maps/foreach_limit.stp: Ditto.
* 2006-10-30 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-301-1/+1
| | | | | | | * 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.
* 2006-10-30 Martin Hunt <hunt@redhat.com>hunt2006-10-301-1/+1
| | | | | * systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies instead of timer.profile so the test works on xen kernels.
* Increase timeout for slow machines.wcohen2006-10-231-0/+1
|
* Close when done.hunt2006-09-181-0/+1
|
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-1228-0/+1180
* 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.