]> sourceware.org Git - systemtap.git/commitdiff
testsuite: Subvert parseko/four.stp for autocast
authorJosh Stone <jistone@redhat.com>
Sat, 31 May 2014 00:21:21 +0000 (17:21 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 31 May 2014 00:21:21 +0000 (17:21 -0700)
This formerly-bad syntax is now expected to pass!  So tweak it in a way
that's bad even under autocast, and copy the good style to parseok.

testsuite/parseko/four.stp
testsuite/parseok/unfour.stp [new file with mode: 0755]

index 7bfccd02bd64cac0d514a07794bfa1cf67705e99..9bb1901f6ccc54bb2b65f9d26c56f8d33f1129e5 100755 (executable)
@@ -1,5 +1,5 @@
 #! stap -p1
 
 probe foo {
-  somethingawful->foo = 1;
+  somethingawful->->foo = 1;
 }
diff --git a/testsuite/parseok/unfour.stp b/testsuite/parseok/unfour.stp
new file mode 100755 (executable)
index 0000000..11acae2
--- /dev/null
@@ -0,0 +1,5 @@
+#! stap -p1
+
+probe foo {
+  somethinglovely->foo = 1;
+}
This page took 0.026952 seconds and 5 git commands to generate.