Skip to content

Commit 4526c65

Browse files
committed
test: updated tests for python3
1 parent e7008e8 commit 4526c65

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/build_deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# test build
44
cp -a /var/tmp /root/mamonsu && pushd /root/mamonsu
55
apt-get update || apt-get update || apt-get update
6-
(apt-get install -y make dpkg-dev debhelper python-dev python-setuptools || apt-get install -y make dpkg-dev debhelper python-dev python-setuptools)
6+
(apt-get install -y make dpkg-dev debhelper python3-dev python3-setuptools || apt-get install -y make dpkg-dev debhelper python3-dev python3-setuptools)
77
make deb && dpkg -i mamonsu*.deb && cd /
88

99
/etc/init.d/mamonsu start

tests/build_rpm.sh

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

33
# test build
44
cp -a /var/tmp /root/mamonsu && pushd /root/mamonsu
5-
yum install -y tar make rpm-build python2-devel python-setuptools rpmlint
5+
yum install -y tar make rpm-build python3-devel python3-setuptools rpmlint
66
rpmlint packaging/rpm/SPECS/mamonsu.spec
77
make rpm && rpm -i mamonsu*.rpm
88

tests/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export ZABBIX_TEMPLATE_NAME='PostgresPro'
1010

1111
# install mamonsu
1212
cp -a /var/tmp /root/mamonsu && pushd /root/mamonsu
13-
yum install -y tar make rpm-build python2-devel python-setuptools
13+
yum install -y tar make rpm-build python3-devel python3-setuptools
1414
make rpm && yum install -y mamonsu*.rpm
1515

1616
# install postgres

0 commit comments

Comments
 (0)