test: nasm-t -- Test for sigsegv on multiple outputs

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-24 12:11:47 +03:00
parent f5a48a6ba2
commit afd8d2f11a
2 changed files with 14 additions and 0 deletions

13
travis/test/mout.json Normal file
View File

@ -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"
}
]

1
travis/test/mout.stderr Normal file
View File

@ -0,0 +1 @@
mout.bin:fatal: more than one output file specified: mout.bin