summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-21 12:17:58 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-21 12:17:58 -0400
commite4982af5877cbd406e1f508e59e20b740bd96551 (patch)
treeda0b373665494aef6c8e5d770a5973ed8999b9c8 /testsuite/systemtap.samples
parent4bdb135a1d011fa8510462e33e09e11316cba9f0 (diff)
downloadsystemtap-steved-e4982af5877cbd406e1f508e59e20b740bd96551.tar.gz
systemtap-steved-e4982af5877cbd406e1f508e59e20b740bd96551.tar.xz
systemtap-steved-e4982af5877cbd406e1f508e59e20b740bd96551.zip
PR6538: more testsuite tweaks for read-only warnings
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r--testsuite/systemtap.samples/args.exp2
-rwxr-xr-xtestsuite/systemtap.samples/poll_map.stp2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.samples/args.exp b/testsuite/systemtap.samples/args.exp
index 8bed7c9e..6b1fd3d0 100644
--- a/testsuite/systemtap.samples/args.exp
+++ b/testsuite/systemtap.samples/args.exp
@@ -12,7 +12,7 @@ if [file exists $staprunpath] {
}
set modname "args_[pid]"
-spawn stap -k -p4 -m $modname $srcdir/$subdir/args.stp
+spawn stap -w -k -p4 -m $modname $srcdir/$subdir/args.stp
set tmpdir NO_SUCH_FILE
expect {
-timeout 120
diff --git a/testsuite/systemtap.samples/poll_map.stp b/testsuite/systemtap.samples/poll_map.stp
index fb6b16e6..cd39b433 100755
--- a/testsuite/systemtap.samples/poll_map.stp
+++ b/testsuite/systemtap.samples/poll_map.stp
@@ -6,7 +6,7 @@
global called, num_polls
probe kernel.function( "sys_*" ).call {
- called[execname(),name]++
+ called[execname(),probefunc()]++
}
probe timer.ms(1000)