Skip to content

Commit 8a84f2f

Browse files
committed
Fix various glitches in automated testing
1 parent 0b01473 commit 8a84f2f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

run-tests-rpm.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -x -e -o pipefail
44
SOURCENAME=`echo ${CI_COMMIT_REF_NAME} | cut -d '-' -f 1`
5+
ZSTDREQ=zstd
56

67
if [ "$1" = "centos8" ]; then
78
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
@@ -19,6 +20,7 @@ if [ "$1" = "centos8" ]; then
1920

2021
wget -N https://archives.fedoraproject.org/pub/archive/epel/8.1/Everything/x86_64/Packages/z/zstd-1.4.4-1.el8.x86_64.rpm && rpm -i zstd-1.4.4-1.el8.x86_64.rpm
2122

23+
ZSTDREQ=
2224
fi
2325

2426
if [ "$1" = "centos_7" ]; then
@@ -30,7 +32,7 @@ if [ "$1" = "centos_6" ]; then
3032
yum install -y epel-rpm-macros
3133
fi
3234

33-
yum install -y xz zstd gzip bzip2 lzop lz4
35+
yum install -y xz ${ZSTDREQ} gzip bzip2 lzop lz4 diffutils
3436

3537
yum install -y built-packages/$1/libwandio1-${SOURCENAME}-*.rpm
3638
yum install -y built-packages/$1/libwandio1-devel-${SOURCENAME}-*.rpm

run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -x -e -o pipefail
44

5+
export DEBIAN_FRONTEND=noninteractive
6+
57
apt-get update
68

79
apt-get install -y curl apt-transport-https \

0 commit comments

Comments
 (0)