diff options
author | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-03-16 06:44:21 +0000 |
---|---|---|
committer | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-03-16 07:52:58 +0000 |
commit | a09b260c015457ad9a9cadbe0931b411d748420d (patch) | |
tree | 107e479dc3bb64d0a5b40cd819bf0332a0578ebf /tests | |
parent | 8ba49a8462141db4ad715ec7b9e84b0d0d487cd6 (diff) | |
download | yosys-a09b260c015457ad9a9cadbe0931b411d748420d.tar.gz yosys-a09b260c015457ad9a9cadbe0931b411d748420d.tar.bz2 yosys-a09b260c015457ad9a9cadbe0931b411d748420d.zip |
Add test for `exec` command.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/various/exec.ys | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/various/exec.ys b/tests/various/exec.ys new file mode 100644 index 000000000..0eec00719 --- /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" |