blob: 7dd9a3901bf96fa252442a8f66a2713bbed464b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#/bin/sh
###############################################################################
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
for I in "$srcdir"/files/good-*.xz
do
if ../src/xzdec/xzdec "$I" > /dev/null 2> /dev/null ; then
:
else
echo "Good file failed: $I"
(exit 1)
exit 1
fi
done
for I in "$srcdir"/files/bad-*.xz
do
if ../src/xzdec/xzdec "$I" > /dev/null 2> /dev/null ; then
echo "Bad file succeeded: $I"
(exit 1)
exit 1
fi
done
(exit 0)
exit 0
|