summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-24 12:11:47 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-24 12:12:15 +0300
commitafd8d2f11affbf835449ffa3f8ba5ca6311b3655 (patch)
tree4baaea8969a0f8cc04bc1865b6491f1620fdfded /travis
parentf5a48a6ba25a4d96d1204e9a2ba9faf246a7de7c (diff)
downloadnasm-afd8d2f11affbf835449ffa3f8ba5ca6311b3655.tar.gz
test: nasm-t -- Test for sigsegv on multiple outputs
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/mout.json13
-rw-r--r--travis/test/mout.stderr1
2 files changed, 14 insertions, 0 deletions
diff --git a/travis/test/mout.json b/travis/test/mout.json
new file mode 100644
index 00000000..33510cf3
--- /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 00000000..84dde583
--- /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