libkkc-data/tests/prepare-source.sh

29 lines
565 B
Bash
Executable File

#!/bin/sh
LIBKKC_VERSION=0.3.5
# https://pagure.io/standard-test-roles/issue/414
# source-lookaside module does not work.
# https://gitlab.com/redhat/centos-stream/tests/libkkc/-/wikis/releases
if [ ! -d libkkc-$LIBKKC_VERSION ] ; then
wget https://gitlab.com/-/project/69066446/uploads/5722801e56af64d83dd761b241a94bda/libkkc-${LIBKKC_VERSION}.tar.gz
zcat libkkc-${LIBKKC_VERSION}.tar.gz | tar xfv -
fi
if [ -f context.c ] ; then
rm *.c
fi
if [ -f context.o ] ; then
rm *.o
fi
if [ -f context ] ; then
rm context
fi
pwd
ls
echo test
make