summaryrefslogtreecommitdiffstats
path: root/tests/windows/check-output
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
commit36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch)
tree6c68e0c0097987aff85a01dabddd34b862309a7c /tests/windows/check-output
parentInitial commit. (diff)
downloadgnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.tar.xz
gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.zip
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 0000000..8516c07
--- /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