summaryrefslogtreecommitdiffstats
path: root/stacker/test/and.st
diff options
context:
space:
mode:
Diffstat (limited to 'stacker/test/and.st')
-rw-r--r--stacker/test/and.st7
1 files changed, 7 insertions, 0 deletions
diff --git a/stacker/test/and.st b/stacker/test/and.st
new file mode 100644
index 00000000000..75b5919d792
--- /dev/null
+++ b/stacker/test/and.st
@@ -0,0 +1,7 @@
+#
+# AND test
+#
+FORWARD success;
+FORWARD failure;
+: step2 7 15 AND 7 = IF success ELSE failure ENDIF ;
+: MAIN 8 16 AND 0 = IF step2 ELSE failure ENDIF ;
OpenPOWER on IntegriCloud