summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/net1.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed rawhide syscall testsuite problem.David Smith2010-01-141-2/+2
| | | | | * testsuite/systemtap.syscall/net1.c (main): The 'bzero()' function has been deprecated on rawhide. Replaced with 'memset()'.
* 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.
* syscalls testsuite: use different escape sequenceFrank Ch. Eigler2009-04-301-6/+6
| | | | | | | | | | | | 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.
* 2007-06-21 Martin Hunt <hunt@redhat.com>hunt2007-06-211-1/+1
| | | | | * chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c, sync.c, trunc.c: Eliminated hardcoded fd numbers.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-121-0/+40
* 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.