summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall
Commit message (Collapse)AuthorAgeFilesLines
* PR 6691 fixed by adding support for sys_accept4.David Smith2009-11-021-1/+1
| | | | | | | | | | * tapset/aux_syscalls.stp(_sock_type_str): Rewrote in embedded-C and added socket flags support. (_sock_flags_str): New function. * tapset/syscalls.stp: syscall.accept prefers to use sys_accept4 when it exists. Added support for sys_accept4's 'flag' parameter. * testsuite/systemtap.syscall/net1.c (main): Updated regular expression to handle the new 'flags' argument.
* Fix syscall testsuite bugs.David Smith2009-10-299-17/+37
| | | | | | | | | | | | | | | * 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.
* PR10799: warn on possibly uintended local-vs-global namespace collisionFrank Ch. Eigler2009-10-191-5/+5
| | | | | | | | | * elaborate.cxx (find_var): Take extra token parameter. Look for cross-file global variable resolution, signal a warning. * testsuite/systemtap.examples/io/traceio2.stp: Fix it. * testsuite/systemtap.syscall/sys.stp: Fix it. * NEWS: Document it.
* PR10608: mark test cases untested once compilation failedWenji Huang2009-09-142-28/+17
| | | | | | | * 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-052-2/+2
|
* 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-3031-256/+261
| | | | | | | | | | | | 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.
* whitespace tweak in tcl codeFrank Ch. Eigler2009-04-301-9/+3
|
* Kill all ChangeLogsJosh Stone2009-02-191-229/+0
| | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
* send/send_log needs a -- with a constant string that starts with -----Srikar Dronamraju2009-01-131-1/+1
|
* clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD) is just fork ().Mark Wielaard2008-11-272-1/+6
|
* Expect syscall faccessat, fchmodat, linkat, symlinkat, readlinkat chain-calls.Mark Wielaard2008-10-054-11/+31
|
* Low byte of clone flags is always set to SIGCHLD in forkwait.c test.Mark Wielaard2008-09-172-1/+5
|
* Timer id in timer.c test can be arbitrary number.Mark Wielaard2008-09-172-4/+8
|
* Don't try including unnecessary asm/page.h in swap.c test.Mark Wielaard2008-09-172-1/+4
|
* PR5001: Remove _stp_ctime and always use ctime.Mark Wielaard2008-05-202-3/+3
|
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-1/+7
| | | | | * test.tcl: Support noexec /tmp by creating test directory under build tree instead of /tmp.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-092-1/+20
| | | | | | PR5554 * systemtap.syscall/alarm.c: Fix expected output patterns on ia64. * systemtap.syscall/stat.c: Ditto.
* 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.
* 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-023-8/+8
| | | | | | * 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().
* *** 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-24 Martin Hunt <hunt@redhat.com>hunt2007-09-242-1/+5
| | | | * link.c (main): Don't check result code.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-195-131/+121
| | | | | | | | | | | 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.
* *** empty log message ***hunt2007-09-171-4/+4
|
* 2007-09-17 Martin Hunt <hunt@redhat.com>hunt2007-09-171-0/+4
| | | | * timer.c (main): Remove the return value checks.
* *** empty log message ***hunt2007-08-221-0/+4
|
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-224-3/+34
| | | | * futimes.c (main): Add utimensat tests.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-162-0/+45
| | | | * all_syscalls.stp: New file. Useful for debugging.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-312-2/+6
| | | | * clock.c (main): Change flags to hex.
* fixed support for pread and pwrite for s390x. Added tests for pread and pwrite.dwilder2007-07-302-0/+10
|
* 2007-07-17 Martin Hunt <hunt@redhat.com>hunt2007-07-182-2/+6
| | | | * poll.c (main): Don't hardcode fd.
* 2007-07-16 Martin Hunt <hunt@redhat.com>hunt2007-07-163-0/+12
| | | | | * select.c (main): Ifdef SYS_pselect6. * poll.c (main): Ifdef SYS_ppoll.
* 2007-07-16 Martin Hunt <hunt@redhat.com>hunt2007-07-163-0/+73
| | | | * select.c, poll.c: New.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-111-2/+2
| | | | | * futimes.c (main): Ifdef out futimesat tests if not defined.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-102-16/+21
| | | | | * uid16.c (main): 16-bit syscalls now have the same name as 32-bit. Fix patterns.
* 2007-07-03 Martin Hunt <hunt@redhat.com>hunt2007-07-032-0/+37
| | | | * futimes.c: New test.
* 2007-06-22 Frank Ch. Eigler <fche@elastic.org>fche2007-06-221-3/+3
| | | | * systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
* 2007-06-21 Martin Hunt <hunt@redhat.com>hunt2007-06-219-40/+45
| | | | | * chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c, sync.c, trunc.c: Eliminated hardcoded fd numbers.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-182-16/+29
| | | | | * syscall.exp (test_procedure): Use switch statements to clean up the logic for setting flags for 64 and 32-bit passes.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-252-1/+4
| | | | * syscall.exp (test_procedure): Remove stray timeout assignment.
* PR4470wcohen2007-05-081-18/+28
| | | | | * testsuite/systemtap.syscall/syscall.exp: Build correct sizes for 32-bit and 64-bit machines.
* 2007-05-07 Martin Hunt <hunt@redhat.com>hunt2007-05-072-5/+10
| | | | | * signal.c (main): Fix expected expression to accept both 32 and 64-bit pointers.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-012-16/+8
| | | | | * statfs.c (main): Fix expected expression to accept both 32 and 64-bit pointers.
* syscall.exp: Enabled 64-bit tests on s390x, 32-bit test to use -m31 on s390x.dwilder2007-04-242-1/+11
|