From: fche Date: Thu, 18 Aug 2005 01:14:52 +0000 (+0000) Subject: none X-Git-Tag: release-0.3~68 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e97bcaa1e868db40b90d63a9ff58295c98b3abb2;p=systemtap.git none --- diff --git a/testsuite/buildok/thirteen.stp b/testsuite/buildok/thirteen.stp new file mode 100755 index 000000000..1113913ee --- /dev/null +++ b/testsuite/buildok/thirteen.stp @@ -0,0 +1,6 @@ +#! stap -p4 + +probe kernel.function("sys_read") +{ + log ("count=" . string($count)) +} diff --git a/testsuite/semok/seventeen.stp b/testsuite/semok/seventeen.stp index 4ea039271..dcb269525 100755 --- a/testsuite/semok/seventeen.stp +++ b/testsuite/semok/seventeen.stp @@ -5,6 +5,7 @@ probe kernel.function("pipe_writev") { a = $nr_segs foo [a] = 1 - # $nr_segs is not an lvalue here + # $nr_segs is not an lvalue here (foo is), so this should compile + # even in non-guru mode foo [$nr_segs] ++ }