summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_normal_zlib.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_normal_zlib.inc')
-rw-r--r--mysql-test/include/have_normal_zlib.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/have_normal_zlib.inc b/mysql-test/include/have_normal_zlib.inc
new file mode 100644
index 00000000..a4531e68
--- /dev/null
+++ b/mysql-test/include/have_normal_zlib.inc
@@ -0,0 +1,9 @@
+--source include/have_compress.inc
+
+# Test that the system is using the default/standard zlib library.
+# If not, we have to skip the test as the compression lengths displayed
+# in the test will not match the results from used compression library.
+
+if (`select length(COMPRESS(space(5000))) != 33`) {
+ skip Test skipped as standard zlib is needed;
+}