summaryrefslogtreecommitdiffstats
path: root/testsuite/lib
Commit message (Collapse)AuthorAgeFilesLines
* Problems using server scripts when not on PATH.Dave Brolley2009-05-061-0/+1
| | | | HAVE_NSS related compile time warning.
* Module signing and verification using a separate file for the module signature.Dave Brolley2009-05-041-0/+2
|
* Better error handling in 'setup_server'.David Smith2009-04-081-2/+2
| | | | | | 2009-04-08 David Smith <dsmith@redhat.com> * lib/systemtap.exp (setup_server): Better error handling.
* introduce [utrace_p] as dejagnu check for utrace presence in kernelFrank Ch. Eigler2009-04-011-0/+10
| | | | | | * testsuite/lib/systemtap.exp: Define here. * testsuite/systemtap.*/*.exp: Use it here. Eliminate duplicated utrace_support_present logic.
* Merge branch 'master' into pr6866Mark Wielaard2009-04-011-5/+10
|\
| * prefer using /usr/bin/lsb_release to deduce distribution for testsuiteFrank Ch. Eigler2009-03-291-3/+9
| |
| * tweak "Distro:" line generation in testsuite logs, to moot ↵Frank Ch. Eigler2009-03-291-4/+3
| | | | | | | | "oracle-enterprise.patch"
* | Merge branch 'master' into pr6866Mark Wielaard2009-03-221-1/+1
|\|
| * sdt.exp: save intermediate sdt.h-client executables for analysisFrank Ch. Eigler2009-03-211-1/+1
| | | | | | | | | | | | * testsuite/lib/stap_run2.exp (stap_run3): Put supplied stap extra arguments after the .stp script name, not before, so that @1/such arguments can be substituted within.
* | Make stap_run send_log of command to execute.Mark Wielaard2009-03-181-0/+1
|/ | | | * testsuite/lib/stap_run.exp (tap_run): Add send_log of cmd.
* Introduce stap_run3 for distinct test names.Mark Wielaard2009-03-131-4/+19
| | | | | * testsuite/lib/stap_run2.exp: Add stap_run3, called from stap_run2. * testsuite/systemtap.base/sdt.exp: Use stap_run3, for distinct test names.
* Make stap_run2 count exact number of lines.Mark Wielaard2009-03-091-1/+6
| | | | | * testsuite/lib/stap_run2.exp: Compare found and expected number of lines. * testsuite/systemtap.*/*.exp (result_string): Make number of lines exact.
* Check for required resources and tools before attempting tests using the ↵Dave Brolley2009-02-201-3/+27
| | | | | | client/server. Ensure that tests run with/without the server have unique names.
* New basic tests for client/server.Dave Brolley2009-02-201-44/+56
|
* More security checking for client/server. Set exec_prefix and sysconfdir at ↵Dave Brolley2009-01-301-4/+4
| | | | install time.
* New framework for creating/using certificate databases for client/server.Dave Brolley2009-01-091-9/+1
|
* Systemtap compile server phase 2 (ssl) -- first cut.Dave Brolley2008-12-241-11/+22
|
* Ignore new warning.David Smith2008-09-111-0/+1
| | | | | | 2008-09-11 David Smith <dsmith@redhat.com> * lib/stap_run.exp: Ignore new warning.
* Minor bugs in stap-client.Dave Brolley2008-08-131-2/+5
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2008-08-081-0/+1
|\ | | | | | | | | | | | | Conflicts: ChangeLog testsuite/ChangeLog
| * 'stap_compile' test procedure now ignores warningsDavid Smith2008-08-071-0/+1
| | | | | | | | | | | | | | | | | | 2008-08-07 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead of its own stap_compile procedure. * systemtap.base/cache.exp (stap_compile): Ignores warnings. * lib/stap_compile.exp: Ignores warnings.
* | Start/stop the systemtap server from systemtap.exp and not in the top level ↵Dave Brolley2008-08-081-2/+48
|/ | | | Makefile.
* Ensure that a systemtap server is available if 'server' is specifiedDave Brolley2008-07-296-14/+5
| | | | in EXTRA_TOOL_OPTS for 'make check' and 'make installcheck'
* Enable 'make check' and 'make installcheck' using the systemtap client/server.Dave Brolley2008-07-146-6/+24
|
* Add test suite for declaration resolutionJames Bottomley2008-07-091-0/+39
| | | | | | | | | | This adds the test declaration.exp which checks that specific named declarations inside the kernel both fail and succeed. We get the failure by only using a single compile unit which is currently known to have the structure stubbed. We get exactly the same declaration to succeed by adding a CU that is known to have the declaration. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
* make "-p4 -m FOO" mode consistent with ordinary -p4Frank Ch. Eigler2008-06-131-1/+0
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-05-281-2/+3
|\ | | | | | | | | | | | | * '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.
| * Create user based cache dir in testsuite.Mark Wielaard2008-05-281-2/+3
| |
* | Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-282-6/+2
|/ | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-272-2/+6
| | | | cleanup
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-231-3/+11
| | | | | * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. Try harder to kill stap child in case of timeouts and errors.
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-231-2/+3
| | | | | | PR 5980. * lib/systemtap.exp: Set default Snapshot: value from "stap -V" output.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-231-2/+3
| | | | | | | 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.
* staplog crash(8) module testsfche2008-01-251-0/+3
| | | | | | | | | | | | | | | | 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.
* add git commit id as testsuite Snapshot fieldfche2008-01-131-1/+3
| | | | | | | | | | | | 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.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-091-3/+8
| | | | | PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe.
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-071-0/+11
| | | | | | | | | | * 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.
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-121-4/+6
| | | | | | | | | | | 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-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-251-0/+30
| | | | | | | | | | | | * 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-28 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-282-0/+27
| | | | | * lib/systemtap.exp: New proc get_system_info. * lib/stap_run.exp: New proc print_system_info.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-211-2/+2
| | | | | * lib/stap_run2.exp (stap_run2): Use send_log() instead of puts to save failure context in the log.
* 2007-09-18 David Smith <dsmith@redhat.com>dsmith2007-09-181-0/+1
| | | | | | * 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-12 Martin Hunt <hunt@redhat.com>hunt2007-09-121-36/+13
| | | | | | | | | | | | | | | | | * 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-08-16 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4591 * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow all the new variants with printd and println. * staptree.h (struct print_format): Add fields for the new print variants, and parse_print() to help matching. * staptree.cxx (print_format::parse_print): New static method to match the print variants and determine their properties. (print_format::print): Handle the new print types. (deep_copy_visitor::visit_print_format): Copy the new fields. * translate.cxx (c_unparser::visit_print_format): Insert delims and newlines where appropriate for new print functions. * stap1.in: Document the new print functions. testsuite/ * 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-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-183-3/+5
| | | | | | | | | | | | | | | | | | 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 <fche@elastic.org>fche2007-06-151-0/+3
| | | | | * lib/systemtap.exp (stap_run_batch): Detect crashing stap and represent this as failing return code.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-252-47/+48
| | | | | | | | * 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-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-303-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> 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-13 Frank Ch. Eigler <fche@redhat.com>fche2007-03-141-15/+29
| | | | | | | | | | | | | | | | | | | | 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.
* add helpful blurbfche2007-01-241-0/+2
|