projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba49a8
)
Add test for `exec` command.
author
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 16 Mar 2020 06:44:21 +0000
(06:44 +0000)
committer
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 16 Mar 2020 07:52:58 +0000
(07:52 +0000)
tests/various/exec.ys
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/various/exec.ys
b/tests/various/exec.ys
new file mode 100644
(file)
index 0000000..
0eec007
--- /dev/null
+++ b/
tests/various/exec.ys
@@ -0,0
+1,6
@@
+exec -expect-return 0 -- exit 0
+exec -expect-return 27 -- exit 27
+exec -expect-stdout nana -expect-stdout api -not-expect-stdout giraffe -- echo "bananapie"
+
+logger -expect error "stdout did have a line" 1
+exec -not-expect-stdout giraffe -- echo "giraffe"