summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/test.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Prevent accidental global cleanup triggering for syscall test.tcl.Mark Wielaard2010-02-221-21/+21
| | | | | | | | | | | Later tests might trigger a cleanup and might set the global dir variable leading to the syscall test.tcl trying to do an exec rm -rf on whatever dir was set. So rename proc cleanup and global dir in syscall test.tcl to something a bit less likely to clash. * testsuite/systemtap.syscall/test.tcl: Rename proc cleanup to syscall_cleanup and global dir to syscall_dir. * testsuite/systemtap.syscall/test-debug.tcl: Likewise.
* Fixed PR 11270 by adding nd_syscall testcase.David Smith2010-02-101-2/+2
| | | | | | | | | | * testsuite/systemtap.syscall/test.tcl: Now uses global variable 'test_script' to find test script to run. * testsuite/systemtap.syscall/syscall.exp: Sets test_script. * testsuite/systemtap.syscall/nd_sys.stp: New test script. Copy of sys.stp, but uses nd_syscall probes. * testsuite/systemtap.syscall/nd_syscall.exp: New testcase. Copy of syscall.exp, but uses nd_sys.stp test script.
* Fix PR11160 by handling ppc syscall.sigaction32 correctly.David Smith2010-01-131-1/+10
| | | | | | | | | | * tapset/aux_syscalls.stp (_struct_old_sigaction32_u): New function. * tapset/syscalls2.stp (syscall.sigaction32): Uses new _struct_old_sigaction32() function to provide a human readable version of the sigaction argument. * testsuite/systemtap.syscall/test.tcl (run_one_test): Use additional C flags when pre-processing test files to better determine which tests are valid on which platforms.
* Fix syscall testsuite bugs.David Smith2009-10-291-0/+6
| | | | | | | | | | | | | | | * testsuite/systemtap.syscall/test.tcl: Substitute '[[[[' and ']]]]' for '(' and ')'. This allows us to get unquoted parens. * testsuite/systemtap.syscall/test-debug.tcl: Matches substitute logic of test.tcl. * testsuite/systemtap.syscall/README: Document '[[[[' and ']]]]'. * testsuite/systemtap.syscall/chmod.c: Handle optional O_LARGEFILE flag in open calls. * testsuite/systemtap.syscall/dir.c: Ditto. * testsuite/systemtap.syscall/mmap.c: Ditto. * testsuite/systemtap.syscall/openclose.c: Ditto. * testsuite/systemtap.syscall/readwrite.c: Ditto. * testsuite/systemtap.syscall/stat.c: Ditto.
* PR10608: mark test cases untested once compilation failedWenji Huang2009-09-141-8/+13
| | | | | | | * testsuite/systemtap.syscall/syscall.exp: Simplify logic things. * testsuite/systemtap.syscall/test.tcl: Check compilation result. * testsuite/systemtap.base/utrace_syscall_args.exp: Change fail to untested.
* Fix arguments to mktemp with less than 6 X'sEugeniy Meshcheryakov2009-05-051-1/+1
|
* systemtap.syscall tests do use + and * as metachars.Mark Wielaard2009-05-031-2/+4
| | | | | | | | + and * are metacharacters, but should always be used as metacharacters in the expressions, don't escape them. * testsuite/systemtap.syscall/test.tcl (run_one_test): Remove escaping of + and *.
* syscalls testsuite: use different escape sequenceFrank Ch. Eigler2009-04-301-4/+9
| | | | | | | | | | | | The syscall testsuite uses embedded "// TEXT" markers in the .c files to designate expected output, kind of like the "dg-" bunch in the gcc test suite. Unfortunately, "//" is not a unique prefix to systemtap tests, and in particular it can occur in the system headers that will be picked up with the "gcc -E -C ..." invocation in test.tcl. So let's switch to "//staptest//". test.tcl is also modified to escape a few more mischevious regexp metacharacters that might sneak past.
* send/send_log needs a -- with a constant string that starts with -----Srikar Dronamraju2009-01-131-1/+1
|
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-231-1/+1
| | | | | * test.tcl: Support noexec /tmp by creating test directory under build tree instead of /tmp.
* testsuite verbosity cleanupfche2007-10-031-1/+1
| | | | | | 2007-10-03 Frank Ch. Eigler <fche@elastic.org> * systemtap.syscall/test.tcl: Don't list PASS on stdout.
* 2007-10-02 William Cohen <wcohen@redhat.com>wcohen2007-10-021-1/+1
| | | | | | * 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-011-7/+7
| | | | | * test.tcl (run_one_test): Append newlines when using send_log().
* *** empty log message ***hunt2007-09-251-1/+1
|
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-251-11/+11
| | | | | * test.tcl (run_one_test): Fix unsupported results. Send failure diffs to log.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-191-88/+92
| | | | | | | | | | | PR 4931 * test-debug.tcl (cleanup): Remove print. * README: Update. * syscall.exp: Source test.tcl and call run_one_test() from there. * test.tcl: Rewrite as a function. Do compilation as well as testing. Compile into and execute in a directory in /tmp.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-01-09 Martin Hunt <hunt@redhat.com>hunt2007-01-091-6/+13
| | | | | * test.exp, test.tcl, test-debug.tcl: PR 3524. Support for separtet source and obj trees.
* 2006-10-27 Martin Hunt <hunt@redhat.com>hunt2006-10-271-18/+2
| | | | | | | | * test.exp, test.tcl: Remove our own caching code and just use systemtap's new caching. * acct.c (main): Make pattern less selective so it works when run by root.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-261-11/+8
| | | | * test.tcl: Looks for 'staprun' instead of 'stpd'.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-121-0/+122
* 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.