summaryrefslogtreecommitdiff
path: root/Build/source/libs/zlib/zlib.test
blob: fd92a1da9feab8632770659afb96c1968abe0e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

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