summaryrefslogtreecommitdiff
path: root/Build/source/libs/zlib/zlib.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/zlib/zlib.test')
-rwxr-xr-xBuild/source/libs/zlib/zlib.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/zlib/zlib.test b/Build/source/libs/zlib/zlib.test
new file mode 100755
index 00000000000..9db9a9a33af
--- /dev/null
+++ b/Build/source/libs/zlib/zlib.test
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+echo hello world | ./minigzip | ./minigzip -d || { \
+ echo ' *** minigzip test FAILED ***'
+ exit 1
+}
+
+if ./example; then
+ echo ' *** zlib test OK ***'
+else
+ echo ' *** zlib test FAILED ***'
+ exit 1
+fi
+