]> sourceware.org Git - systemtap.git/commit
syscalls testsuite: use different escape sequence
authorFrank Ch. Eigler <fche@elastic.org>
Thu, 30 Apr 2009 21:07:43 +0000 (17:07 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Thu, 30 Apr 2009 21:07:43 +0000 (17:07 -0400)
commit059cd9efbd82e1017406a7a290a2fb9f6bfb64f7
tree8ab74af55066fd93c30682da09014aa81e3339ef
parentc12f7fa15eec148307fa94f886b0673c1d0dd789
syscalls testsuite: use different escape sequence

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.
31 files changed:
testsuite/systemtap.syscall/access.c
testsuite/systemtap.syscall/acct.c
testsuite/systemtap.syscall/alarm.c [changed mode: 0755->0644]
testsuite/systemtap.syscall/chmod.c
testsuite/systemtap.syscall/clock.c
testsuite/systemtap.syscall/dir.c
testsuite/systemtap.syscall/forkwait.c
testsuite/systemtap.syscall/futimes.c
testsuite/systemtap.syscall/itimer.c
testsuite/systemtap.syscall/link.c
testsuite/systemtap.syscall/mmap.c
testsuite/systemtap.syscall/mount.c
testsuite/systemtap.syscall/net1.c
testsuite/systemtap.syscall/openclose.c
testsuite/systemtap.syscall/poll.c
testsuite/systemtap.syscall/readwrite.c
testsuite/systemtap.syscall/rt_signal.c
testsuite/systemtap.syscall/select.c
testsuite/systemtap.syscall/sendfile.c
testsuite/systemtap.syscall/signal.c
testsuite/systemtap.syscall/stat.c
testsuite/systemtap.syscall/statfs.c
testsuite/systemtap.syscall/swap.c [changed mode: 0755->0644]
testsuite/systemtap.syscall/sync.c
testsuite/systemtap.syscall/test.tcl
testsuite/systemtap.syscall/timer.c
testsuite/systemtap.syscall/trunc.c
testsuite/systemtap.syscall/uid.c
testsuite/systemtap.syscall/uid16.c
testsuite/systemtap.syscall/umask.c
testsuite/systemtap.syscall/unlink.c
This page took 0.032164 seconds and 5 git commands to generate.