tests/centos7: add criu
Enable criu tests on centos 7 by using criu from Adrian's repo (https://copr.fedorainfracloud.org/coprs/adrian/criu-el7/) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
98c7c01df9
commit
92f498210a
|
@ -18,7 +18,8 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
# install yum packages
|
||||
yum install -y -q epel-release
|
||||
yum install -y -q gcc git iptables jq libseccomp-devel make skopeo
|
||||
(cd /etc/yum.repos.d && curl -O https://copr.fedorainfracloud.org/coprs/adrian/criu-el7/repo/epel-7/adrian-criu-el7-epel-7.repo)
|
||||
yum install -y -q gcc git iptables jq libseccomp-devel make skopeo criu
|
||||
yum clean all
|
||||
|
||||
# install Go
|
||||
|
@ -34,8 +35,6 @@ Vagrant.configure("2") do |config|
|
|||
git checkout $BATS_VERSION
|
||||
./install.sh /usr/local
|
||||
|
||||
# NOTE: criu is NOT installed. criu tests are skipped.
|
||||
|
||||
# set PATH (NOTE: sudo without -i ignores this PATH)
|
||||
cat >> /etc/profile.d/sh.local <<EOF
|
||||
PATH=/usr/local/go/bin:/usr/local/bin:$PATH
|
||||
|
|
Loading…
Reference in New Issue