summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2008-01-16 David Smith <dsmith@redhat.com>dsmith2008-01-162-2/+44
| | | | | | PR 5608. * systemtap.base/marker.exp: Added 2 tests for treating marker arguments incorrectly.
* 2008-01-16 Eugene Teo <eteo@redhat.com>eteo2008-01-162-0/+10
| | | | | | | | | | | | | | | | | | | | | | * stapfuncs.5.in: Document signal.stp tapset functions. 2008-01-16 Eugene Teo <eteo@redhat.com> * signal.stp (get_sa_flags, get_sa_handler): New functions to return addresses of sa_flags and sa_handler of struct k_sigaction. (sigset_mask_str): New function. Returns a string containing the set of signals to be blocked when executing the signal handler. (is_sig_blocked): New function. Checks task_struct->blocked signal mask for signals that are currently blocked. (signal_str): New function. Translates a signal number. (sa_flags_str): New function. Translates the sa_flags. (sa_handler_str): New function. Returns the signal action or handler associated to the signal. 2008-01-16 Eugene Teo <eteo@redhat.com> * buildok/signal-embedded.stp: Add all new embedded C functions in signal.
* PR 4935. * systemtap.base/onoffprobe.*: Toughen test.fche2008-01-153-48/+47
|
* add git commit id as testsuite Snapshot fieldfche2008-01-132-1/+7
| | | | | | | | | | | | 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-093-1/+26
| | | | | | PR5554 * systemtap.syscall/alarm.c: Fix expected output patterns on ia64. * systemtap.syscall/stat.c: Ditto.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-092-3/+13
| | | | | PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe.
* Put the ChangeLog entry in the correct place.wcohen2008-01-071-0/+9
|
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-077-24/+36
| | | | | | | | | | * 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.
* 2008-01-04 David Smith <dsmith@redhat.com>dsmith2008-01-042-1/+6
| | | | | * systemtap.base/marker.exp: Improved regexp that finds markers with arguments.
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-126-12/+44
| | | | | | | | | | | 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 <mhiramat@redhat.com>hiramatu2007-12-0512-0/+154
| | | | | | | | | | | | | | | | | | PR 4935 * tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user to access kernel variables in the condition of probe points. * stapprobes.5.in : Document the conditional probe point. * NEWS : Ditto. * 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 <mhiramat@redhat.com>hiramatu2007-12-032-2/+8
| | | | | | | | | | | | | PR 5376 * parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard flag is true. (parser::parse_probe_point): Call parser::next() with wildcard = true. (parser::scan_pp): Add wildcard flag and pass it to lexer::scan. (parser::next): Ditto. (parser::peek): Ditto. * parse.h : Ditto. * testsuites/perseko/twentytwo.stp: Change testcase to the wildcarded probe points with spaces.
* 2007-11-29 David Smith <dsmith@redhat.com>dsmith2007-11-292-17/+27
| | | | | | * 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 <dsmith@redhat.com>dsmith2007-11-272-0/+8
| | | | * semok/twentyeight.stp: Tests wildcarded probe points.
* * dummy commit to fix some permissionsfche2007-11-204-0/+0
|
* PR 3887: sufficient+optional probe pointsfche2007-11-203-0/+16
| | | | | | | | | | | | | | | | 2007-11-19 Frank Ch. Eigler <fche@elastic.org> PR 3887. * staptree.h (probe_point): Add "sufficient" field. * staptree.cxx: Initialize it, print it. * parse.cxx (parse_probe_point): Parse it. * elaborate.cxx (derive_probes): Implement it. * stapprobes.5.in: Document it. * NEWS: Gloat about it. * parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag. * iostat-scsi.stp: Adopt "!" probe point flag.
* 2007-11-15 David Smith <dsmith@redhat.com>dsmith2007-11-152-263/+9
| | | | | * systemtap.base/marker.exp: Removed 'module("foo").mark("bar")' tests since that facility was removed.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-1230-147/+159
| | | | | | | | * 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 <mhiramat@redhat.com>hiramatu2007-11-095-0/+86
| | | | | | | | | | | | | | | | PR3858 * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname> options support. (_stp_print_flush): Disable irqs if -DRELAY_* option is specified. * print_old.c: Export stp_print_flush to other modules if the -DRELAY_HOST option is specified. * print_new.c: Ditto. * transport.c (_stp_transport_init): Reduce relay buffer size to 64KB*2 if -DRELAY_GUEST is specified. * 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 <hunt@redhat.com>hunt2007-10-264-22/+33
| | | | | | | * 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 <hunt@redhat.com>hunt2007-10-2511-0/+635
| | | | | | | | | | | | * 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 <hunt@redhat.com>hunt2007-10-253-0/+84
| | | | | * systemtap.printf/printd.stp: New * systemtap.printf/printdln.stp: New
* *** empty log message ***hunt2007-10-183-24/+21
|
* 2007-10-16 Martin Hunt <hunt@redhat.com>hunt2007-10-1711-79/+23
| | | | | | | | | | | | | | | | | | 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.
* timers.c init tid to 0 to workaround s390x bug.dwilder2007-10-122-1/+4
|
* futimes.c : Only test system calls that have numbers assigned in asm/unistd.hdwilder2007-10-112-7/+22
|
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-092-2/+11
| | | | * rt_signal.c: Fix expected results for IA64.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-093-29/+36
| | | | | | | * rt_signal.c: Fix expected patterns to match recent changes in tapsets. * signal.c: Use syscall(). Fix expected patterns.
* PR1119: unused variable elision warningsfche2007-10-063-0/+30
| | | | | | | | | | | | | | | | | | 2007-10-05 Frank Ch. Eigler <fche@elastic.org> PR 1119 * elaborate.cxx (semantic_pass_opt[12]): Warn on elided variables/functions in user script. * session.h (suppress_warnings): New field. Change "timing" to plain old bool. * main.cxx (main): Configure warnings on by default. * stap.1.in: Document this. PR 1119. * systemtap.base/warnings.*: New test. * futexes.stp, sig_by_proc.stp, small_demos/rwtiming.stp: Fix elision warnings.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-1/+46
| | | | | * buildok/aux_syscalls-embedded.stp: Add all embedded C function in aux_syscalls.
* rhbz 319611: htonl and friends in tapsetfche2007-10-052-0/+10
| | | | | | | | | | 2007-10-04 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Document inet.stp tapset functions. * buildok/inet-embedded.stp: Test inet.stp functions. * inet.stp: New tapset for htonl and friends.
* 2007-10-04 Mike Mason <mmlnx@us.ibm.com>mmason2007-10-0413-0/+87
| | | | | | | | | | | | | | | | | * 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
* testsuite verbosity cleanupfche2007-10-032-2/+6
| | | | | | 2007-10-03 Frank Ch. Eigler <fche@elastic.org> * systemtap.syscall/test.tcl: Don't list PASS on stdout.
* nonefche2007-10-021-0/+0
|
* 2007-10-02 Frank Ch. Eigler <fche@redhat.com>fche2007-10-024-0/+36
| | | | | | | | | | | | | | | | | | | PR 5078 * tapsets.cxx (be_derived_probe): Rework to add error probe support. Emit probe description array in C for traversal by generated code. * register_standard_tapsets: Add error probes. * stapprobes.5.in: Document. * translate.cxx (emit_module_init): Handle errors that may occur during begin probes. (emit_module_exit): Use schedule() rather than cpu_relax() during shutdown synchronization wait loop. * staptree.cxx (probe::printsig): Put multiple probe points on same line. 2007-10-02 Frank Ch. Eigler <fche@redhat.com> PR 5078 * semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.
* 2007-10-02 William Cohen <wcohen@redhat.com>wcohen2007-10-024-8/+14
| | | | | | * systemtap.syscall/signal.c: * systemtap.syscall/uid16.c: Compilation regardless of defines. * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-7/+12
| | | | | * test.tcl (run_one_test): Append newlines when using send_log().
* 2007-09-28 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-283-0/+32
| | | | | * lib/systemtap.exp: New proc get_system_info. * lib/stap_run.exp: New proc print_system_info.
* 2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-275-0/+83
| | | | | PR3916 * systemtap.sample/gtod.*: New test for gettimeofday accuracy.
* *** empty log message ***hunt2007-09-251-1/+1
|
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-11/+16
| | | | | * test.tcl (run_one_test): Fix unsupported results. Send failure diffs to log.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-2/+7
| | | | | * systemtap.context/backtrace.tcl: Handle single line timer.profile backtraces.
* 2007-09-25 David Smith <dsmith@redhat.com>dsmith2007-09-252-1/+5
| | | | | * systemtap.base/marker.exp: Improved regexp to work correctly on kernels with no markers.
* 2007-09-25 David Smith <dsmith@redhat.com>dsmith2007-09-252-7/+42
| | | | | * systemtap.base/marker.exp: Updated for the 9/18/2007 markers patch.
* moving misplaced entryfche2007-09-251-0/+5
|
* replace examples buildok testingfche2007-09-242-34/+12
| | | | | * systemtap.samples/examples.exp: New file, replacing * buildok/examples.stp: Removed.
* * buildok test cases for every embedded-C functionfche2007-09-2416-0/+176
| | | | | | | 2007-09-24 Frank Ch. Eigler <fche@elastic.org> * buildok/*-embedded.stp: New test case for every embedded-C function in the tapsets.
* 2007-09-24 Martin Hunt <hunt@redhat.com>hunt2007-09-242-1/+5
| | | | * link.c (main): Don't check result code.
* 2007-09-22 Frank Ch. Eigler <fche@elastic.org>fche2007-09-222-1/+5
| | | | * systemtap.base/optim.exp: Wait for both result lines.
* 2007-09-22 Frank Ch. Eigler <fche@elastic.org>fche2007-09-222-3/+7
| | | | * systemtap.maps/linear_overunder.exp: Correct for actual data.