summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf
Commit message (Collapse)AuthorAgeFilesLines
* Added a basic ring_buffer transport test.David Smith2009-09-241-0/+32
| | | | * testsuite/systemtap.printf/ring_buffer.exp: New test.
* Improved systemtap.printf/sharedbuf.exp testcase.David Smith2009-08-191-41/+87
| | | | | * testsuite/systemtap.printf/sharedbuf.exp: Handles failure better and possible modpost warnings.
* Remove as_root calls from the printf testsuiteJosh Stone2009-08-055-20/+20
| | | | | | | | | | | | | Once upon a time, we would use sudo staprun, and so output files from "-o" were owned by root. For a while now we've used a setuid staprun instead, and the output files are created by stapio as the user. Thus, we don't need as_root to remove those files anymore. * testsuite/systemtap.printf/end1b.exp: Clean up without as_root. * testsuite/systemtap.printf/mixed_outb.exp: Ditto. * testsuite/systemtap.printf/out1b.exp: Ditto. * testsuite/systemtap.printf/out2b.exp: Ditto. * testsuite/systemtap.printf/out3b.exp: Ditto.
* Merge commit 'origin/master' into pr7043David Smith2009-05-2115-11/+34
|\ | | | | | | | | | | | | Conflicts: runtime/print.c runtime/transport/transport.c runtime/transport/transport_msgs.h
| * Fix arguments to mktemp with less than 6 X'sEugeniy Meshcheryakov2009-05-0510-10/+10
| |
| * PR10099: Extend %M directive to support hexdumping large buffersWenji Huang2009-04-261-0/+14
| | | | | | | | | | | | | | | | | | | | This patch will make %M directive dump the variable width buffer in hex format instead of returning uint64_t number as before. * runtime/vsprintf.c: Modify %M directive. * stap.1.in: Update description. * testsuite/systemtap.printf/memory1.stp: Add test case.
| * Add function of returning the char in given position of stringWenji Huang2009-04-262-1/+2
| | | | | | | | | | | | * tapset/string.stp: New function stringat. * testsuite/systemtap.printf/char1.exp: Update test case. * testsuite/systemtap.printf/char1.stp: Ditto.
| * fix a bug with %% in format stringsTim Moore2009-04-202-0/+8
| | | | | | | | | | | | | | | | | | | | | | * translate.cxx (c_unparser::visit_print_format): Always use _stp_printf if a format string contains "%%". Previously a format string with no arguments would always be printed with _stp_print. * testsuite/systemtap.printf/basic6.stp: New test for %% in format strings. * testsuite/systemtap.printf/basic6.exp: test driver * testsuite/systemtap.examples/grapher.stp: Remove workaround for "%%" literal problem.
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into pr7043David Smith2009-03-1210-21/+11
|\|
| * Make stap_run2 count exact number of lines.Mark Wielaard2009-03-0910-21/+11
| | | | | | | | | | * testsuite/lib/stap_run2.exp: Compare found and expected number of lines. * testsuite/systemtap.*/*.exp (result_string): Make number of lines exact.
* | Make printf tests fail when stap fails.David Smith2009-03-1110-13/+13
|/ | | | | | | | | | | | | | | 2009-03-11 David Smith <dsmith@redhat.com> * systemtap.printf/end1.exp: The test fails when stap fails. * systemtap.printf/end1b.exp: Ditto. * systemtap.printf/mixed_out.exp: Ditto. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3.exp: Ditto. * systemtap.printf/out3b.exp: Ditto.
* Expose an i686 problem in printf %c supportJosh Stone2008-10-271-3/+2
|
* PR6851: Added support for %c printf conversion specifierElliott Baron2008-10-202-0/+13
|
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-281-1/+2
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-271-2/+1
| | | | cleanup
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-102-41/+121
| | | | | | PR5189 * systemtap.printf/memory1.{stp,exp}: Rewrite to reflect new %m safety checks. * systemtap.stress/conversions.exp: Add a test for invalid argument to %m.
* 2008-02-27 Dave Brolley <brolley@redhat.com>brolley2008-02-274-0/+85
| | | | | | PR5189 * systemtap.printf/bin6.{exp,stp}: New test case. * systemtap.printf/memory1.{exp,stp}: New test case.
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-2311-29/+29
| | | | * systemtap.printf/*.exp: Canonicalize pass/fail messages.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-231-1/+1
| | | | | | | 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.
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-065-20/+20
| | | | | | | | | | | * 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-01 Martin Hunt <hunt@redhat.com>hunt2008-02-016-35/+107
| | | | | | PR4736 * systemtap.printf/stap_merge.tcl: Copied here so it will always be available.
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-075-20/+20
| | | | | | | | | | * 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-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-1/+1
| | | | | | | | * 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-094-0/+78
| | | | | | | | | | | | | | | | 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-263-22/+26
| | | | | | | * 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-256-0/+141
| | | | | | | | | | | | * 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-252-0/+79
| | | | | * 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-177-74/+0
| | | | | | | | | | | | | | | | | | 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-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-155-5/+5
| | | | * systemtap.printf/*b.exp: Use stap_merge.tcl.
* 2007-08-07 David Smith <dsmith@redhat.com>dsmith2007-08-075-5/+5
| | | | | | | | | | 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-06-20 Martin Hunt <hunt@redhat.com>hunt2007-06-205-10/+45
| | | | | * systemtap.printf/*b.exp: Add code to look in the toplevel directory for stap_merge.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-1016-0/+3422
| | | | | | | | | * 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-01-22 Frank Ch. Eigler <fche@redhat.com>fche2007-01-2214-14/+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.
* New tests for string functions.hunt2006-08-212-137/+0
|
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-1236-0/+744
* 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.