aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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