From afd8d2f11affbf835449ffa3f8ba5ca6311b3655 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 24 Nov 2018 12:11:47 +0300 Subject: [PATCH] test: nasm-t -- Test for sigsegv on multiple outputs Signed-off-by: Cyrill Gorcunov --- travis/test/mout.json | 13 +++++++++++++ travis/test/mout.stderr | 1 + 2 files changed, 14 insertions(+) create mode 100644 travis/test/mout.json create mode 100644 travis/test/mout.stderr 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