test/jdk/tools/jpackage/linux/rpm/install.sh
author dchuyko
Tue, 30 Jul 2019 09:58:18 +0300
branchJDK-8200758-branch
changeset 57591 6805e0ef7453
parent 57543 bcd1ab268a7d
permissions -rw-r--r--
8228722: jpackage RPM tests fail on some versions of rpmbuild Reviewed-by: herrick

ARCH=$(rpmbuild --eval='%{_target_cpu}')
sudo rpm --install fileassociationstest-1.0-1.${ARCH}.rpm
sudo rpm --install installdirtest-1.0-1.${ARCH}.rpm
sudo rpm --install licensetest-1.0-1.${ARCH}.rpm
sudo rpm --install licensetypetest-1.0-1.${ARCH}.rpm
sudo rpm --install packagedepstestdep-1.0-1.${ARCH}.rpm
sudo rpm --install packagedepstest-1.0-1.${ARCH}.rpm
sudo rpm --install test-1.0-1.${ARCH}.rpm
sudo rpm --install jpackage-test-bundle-name-1.0-1.${ARCH}.rpm