test/common: Don't attempt to install tsocks package on fedora 31
Currently, this particular package is not available in fedora 31's repos, thus don't exit the setup if its installation fails. Change-Id: I56852ed172c95b23c92e25b1cec391b4e909f2bd Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/936 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
873c8748eb
commit
e338a8dd37
@ -441,7 +441,10 @@ if $INSTALL; then
|
||||
|
||||
if [ $PACKAGEMNG == 'dnf' ]; then
|
||||
if echo $CONF | grep -q tsocks; then
|
||||
sudo dnf install -y tsocks
|
||||
# currently, tsocks package is retired in fedora 31, so don't exit in case
|
||||
# installation failed
|
||||
# FIXME: Review when fedora starts to successfully build this package again.
|
||||
sudo dnf install -y tsocks || echo "Installation of the tsocks package failed, proxy may not be available"
|
||||
fi
|
||||
|
||||
sudo dnf install -y \
|
||||
|
Loading…
Reference in New Issue
Block a user