summaryrefslogtreecommitdiff
path: root/tests/windows/check-output
diff options
context:
space:
mode:
Diffstat (limited to 'tests/windows/check-output')
-rwxr-xr-xtests/windows/check-output17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/windows/check-output b/tests/windows/check-output
new file mode 100755
index 0000000000..8516c072f1
--- /dev/null
+++ b/tests/windows/check-output
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+TMPFILE=wine.$$.out
+
+wine $* >$TMPFILE
+
+grep -i "Unhandled exception" $TMPFILE
+if test $? = 0;then
+ ret=1
+else
+ ret=0
+fi
+
+echo $TMPFILE
+rm -f $TMPFILE
+
+exit $ret