mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
bb70d0b6e6
git-svn-id: file:///svn/toku/tokudb.4413c/xz-4.999.9beta@42460 c7de825b-a66e-492c-adef-691d508d4ae1
33 lines
639 B
Bash
Executable file
33 lines
639 B
Bash
Executable file
#/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
|