summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2010-01-13 15:11:58 +0100
committerMark Wielaard <mjw@redhat.com>2010-01-13 15:11:58 +0100
commitb86c3365b3c8ca6e6e459d07de124b7ba2d66cad (patch)
tree4dc6dbb9badce83acd3f8993d474c56bb1dc94df /testsuite/parseko
parente25ab03ca60a5c6ca687b698502730ba2ad244dc (diff)
downloadsystemtap-steved-b86c3365b3c8ca6e6e459d07de124b7ba2d66cad.tar.gz
systemtap-steved-b86c3365b3c8ca6e6e459d07de124b7ba2d66cad.tar.xz
systemtap-steved-b86c3365b3c8ca6e6e459d07de124b7ba2d66cad.zip
Faulty conditionals are parse errors, not semantical errors.
The test was correct, the given construct should fail. But it fails because it is a parse error, not because it is a semantical error. So move into the right pass1-4 sub-directory. * testsuite/semko/conditional.stp: Moved to... * testsuite/parseko/conditional.stp: ... here.
Diffstat (limited to 'testsuite/parseko')
-rw-r--r--testsuite/parseko/conditional.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/parseko/conditional.stp b/testsuite/parseko/conditional.stp
new file mode 100644
index 00000000..ee164548
--- /dev/null
+++ b/testsuite/parseko/conditional.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+probe begin {
+ %( 1 == 0 %? print(1) %? print(2) %)
+}