Commit-ID: afd8d2f11affbf835449ffa3f8ba5ca6311b3655
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=afd8d2f11affbf835449ffa3f8ba5ca6311b3655
Author: Cyrill Gorcunov <gor...@gm...>
AuthorDate: Sat, 24 Nov 2018 12:11:47 +0300
Committer: Cyrill Gorcunov <gor...@gm...>
CommitDate: Sat, 24 Nov 2018 12:12:15 +0300
test: nasm-t -- Test for sigsegv on multiple outputs
Signed-off-by: Cyrill Gorcunov <gor...@gm...>
---
travis/test/mout.json | 13 +++++++++++++
travis/test/mout.stderr | 1 +
2 files changed, 14 insertions(+)
diff --git a/travis/test/mout.json b/travis/test/mout.json
new file mode 100644
index 0000000..33510cf
--- /dev/null
+++ b/travis/test/mout.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test sigsegv fix if multiple outputs passed",
+ "id": "mout",
+ "format": "bin",
+ "source": "mout.asm",
+ "option": "-o mout.bin -o mout.bin",
+ "target": [
+ { "stderr": "mout.stderr" }
+ ],
+ "error": "expected"
+ }
+]
diff --git a/travis/test/mout.stderr b/travis/test/mout.stderr
new file mode 100644
index 0000000..84dde58
--- /dev/null
+++ b/travis/test/mout.stderr
@@ -0,0 +1 @@
+mout.bin:fatal: more than one output file specified: mout.bin
\ No newline at end of file
|