summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-08-03 18:55:39 +0000
committerStefan Eßer <se@FreeBSD.org>2020-08-03 18:55:39 +0000
commita68dea2ff90f2e77fe8c6a9e022aa1ac258106b7 (patch)
tree14083ae0377e0e7df842ba66878bd3f26c9491c7 /tests
parentee177a09be9c81bf1c3e00326e1d38e6edb8e2a4 (diff)
Notes
Diffstat (limited to 'tests')
-rw-r--r--tests/bc/all.txt2
l---------tests/bc/misc6.txt1
l---------tests/bc/misc6_results.txt1
l---------tests/bc/misc7.txt1
l---------tests/bc/misc7_results.txt1
-rw-r--r--tests/bc/stdin1.txt2
-rw-r--r--tests/bc/stdin1_results.txt1
-rw-r--r--tests/bc/stdin2.txt1
-rw-r--r--tests/bc/stdin2_results.txt3
9 files changed, 13 insertions, 0 deletions
diff --git a/tests/bc/all.txt b/tests/bc/all.txt
index 069e609424048..b623e8a11b71d 100644
--- a/tests/bc/all.txt
+++ b/tests/bc/all.txt
@@ -39,6 +39,8 @@ misc2
misc3
misc4
misc5
+misc6
+misc7
void
rand
lib2
diff --git a/tests/bc/misc6.txt b/tests/bc/misc6.txt
new file mode 120000
index 0000000000000..1ddbfa42bea4f
--- /dev/null
+++ b/tests/bc/misc6.txt
@@ -0,0 +1 @@
+stdin1.txt \ No newline at end of file
diff --git a/tests/bc/misc6_results.txt b/tests/bc/misc6_results.txt
new file mode 120000
index 0000000000000..a0374545ed82d
--- /dev/null
+++ b/tests/bc/misc6_results.txt
@@ -0,0 +1 @@
+stdin1_results.txt \ No newline at end of file
diff --git a/tests/bc/misc7.txt b/tests/bc/misc7.txt
new file mode 120000
index 0000000000000..17ea58ae3ffd8
--- /dev/null
+++ b/tests/bc/misc7.txt
@@ -0,0 +1 @@
+stdin2.txt \ No newline at end of file
diff --git a/tests/bc/misc7_results.txt b/tests/bc/misc7_results.txt
new file mode 120000
index 0000000000000..394d3e9d57c10
--- /dev/null
+++ b/tests/bc/misc7_results.txt
@@ -0,0 +1 @@
+stdin2_results.txt \ No newline at end of file
diff --git a/tests/bc/stdin1.txt b/tests/bc/stdin1.txt
new file mode 100644
index 0000000000000..3721c265baa22
--- /dev/null
+++ b/tests/bc/stdin1.txt
@@ -0,0 +1,2 @@
+if (1 < 3)
+ if (2 < 3) 1
diff --git a/tests/bc/stdin1_results.txt b/tests/bc/stdin1_results.txt
new file mode 100644
index 0000000000000..d00491fd7e5bb
--- /dev/null
+++ b/tests/bc/stdin1_results.txt
@@ -0,0 +1 @@
+1
diff --git a/tests/bc/stdin2.txt b/tests/bc/stdin2.txt
new file mode 100644
index 0000000000000..f260cfa7dbcf2
--- /dev/null
+++ b/tests/bc/stdin2.txt
@@ -0,0 +1 @@
+for (i = 0; i < 3; ++i) if (2 < 3) 1
diff --git a/tests/bc/stdin2_results.txt b/tests/bc/stdin2_results.txt
new file mode 100644
index 0000000000000..e8183f05f5db6
--- /dev/null
+++ b/tests/bc/stdin2_results.txt
@@ -0,0 +1,3 @@
+1
+1
+1