diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-02 13:43:34 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-02 13:43:34 +0100 |
| commit | 0a3fdd77894a02c63cc14592505a4dbaaeaf7af7 (patch) | |
| tree | ee2505726fae7a1f039a37b8145f6c16ac0feba0 /sam/errors | |
| parent | 11754d3c6451288fc06d85fb2f6e85552336010e (diff) | |
| download | vis-0a3fdd77894a02c63cc14592505a4dbaaeaf7af7.tar.gz vis-0a3fdd77894a02c63cc14592505a4dbaaeaf7af7.tar.xz | |
test/sam: add more tests
Diffstat (limited to 'sam/errors')
| -rw-r--r-- | sam/errors/conflict.cmd | 4 | ||||
| -rw-r--r-- | sam/errors/conflict.in | 1 | ||||
| -rw-r--r-- | sam/errors/filter.cmd | 1 | ||||
| -rw-r--r-- | sam/errors/filter.in | 1 | ||||
| -rw-r--r-- | sam/errors/filter.ref | 1 | ||||
| -rw-r--r-- | sam/errors/pipe-in.cmd | 1 | ||||
| -rw-r--r-- | sam/errors/pipe-in.in | 1 | ||||
| -rw-r--r-- | sam/errors/pipe-in.ref | 1 | ||||
| -rw-r--r-- | sam/errors/read.cmd | 1 | ||||
| -rw-r--r-- | sam/errors/read.in | 1 | ||||
| -rw-r--r-- | sam/errors/unbalanced-group.cmd | 5 | ||||
| -rw-r--r-- | sam/errors/unbalanced-group.in | 1 |
12 files changed, 19 insertions, 0 deletions
diff --git a/sam/errors/conflict.cmd b/sam/errors/conflict.cmd new file mode 100644 index 0000000..8397024 --- /dev/null +++ b/sam/errors/conflict.cmd @@ -0,0 +1,4 @@ +,{ +c/text1/ +c/text2/ +} diff --git a/sam/errors/conflict.in b/sam/errors/conflict.in new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/sam/errors/conflict.in @@ -0,0 +1 @@ +Hello World! diff --git a/sam/errors/filter.cmd b/sam/errors/filter.cmd new file mode 100644 index 0000000..e54b088 --- /dev/null +++ b/sam/errors/filter.cmd @@ -0,0 +1 @@ +1 | tr a-z A-Z && false diff --git a/sam/errors/filter.in b/sam/errors/filter.in new file mode 100644 index 0000000..4afca5f --- /dev/null +++ b/sam/errors/filter.in @@ -0,0 +1 @@ +Filter command failed diff --git a/sam/errors/filter.ref b/sam/errors/filter.ref new file mode 100644 index 0000000..4afca5f --- /dev/null +++ b/sam/errors/filter.ref @@ -0,0 +1 @@ +Filter command failed diff --git a/sam/errors/pipe-in.cmd b/sam/errors/pipe-in.cmd new file mode 100644 index 0000000..033cefb --- /dev/null +++ b/sam/errors/pipe-in.cmd @@ -0,0 +1 @@ +1 < echo FAILED && false diff --git a/sam/errors/pipe-in.in b/sam/errors/pipe-in.in new file mode 100644 index 0000000..b130b9a --- /dev/null +++ b/sam/errors/pipe-in.in @@ -0,0 +1 @@ +Pipe in command failed diff --git a/sam/errors/pipe-in.ref b/sam/errors/pipe-in.ref new file mode 100644 index 0000000..b130b9a --- /dev/null +++ b/sam/errors/pipe-in.ref @@ -0,0 +1 @@ +Pipe in command failed diff --git a/sam/errors/read.cmd b/sam/errors/read.cmd new file mode 100644 index 0000000..7685f9d --- /dev/null +++ b/sam/errors/read.cmd @@ -0,0 +1 @@ +1 r not-found diff --git a/sam/errors/read.in b/sam/errors/read.in new file mode 100644 index 0000000..1b88518 --- /dev/null +++ b/sam/errors/read.in @@ -0,0 +1 @@ +Read non-existing file diff --git a/sam/errors/unbalanced-group.cmd b/sam/errors/unbalanced-group.cmd new file mode 100644 index 0000000..0a8faf2 --- /dev/null +++ b/sam/errors/unbalanced-group.cmd @@ -0,0 +1,5 @@ +{ + i/>/ + { + a/</ +} diff --git a/sam/errors/unbalanced-group.in b/sam/errors/unbalanced-group.in new file mode 100644 index 0000000..8708690 --- /dev/null +++ b/sam/errors/unbalanced-group.in @@ -0,0 +1 @@ +Unbalanced brace in group |
