summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/baseline/cmd-script.test3
-rw-r--r--test/baseline/cmd-script_2.test3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/baseline/cmd-script.test b/test/baseline/cmd-script.test
new file mode 100644
index 00000000..ed665dcc
--- /dev/null
+++ b/test/baseline/cmd-script.test
@@ -0,0 +1,3 @@
+test eval 'foo(w, u)=(z=w+u;z*2); (a=1 + 1; foo(10, 15))'
+50
+end test
diff --git a/test/baseline/cmd-script_2.test b/test/baseline/cmd-script_2.test
new file mode 100644
index 00000000..a6f6f37a
--- /dev/null
+++ b/test/baseline/cmd-script_2.test
@@ -0,0 +1,3 @@
+test eval 'x=total_expr;x=x/count;x=amount_expr-x*count;x'
+0
+end test