Commit e606eafc authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Fixed bug in singularity test

parent 3ccee34a
......@@ -55,9 +55,11 @@ if [ "x$HAS_SINGULARITY" = "xTrue" ]; then
# singularity simple exec failed - we are done
echo "ERROR: Singularity simple exec failed. Disabling support"
echo "summary: SINGULARITY_FAILED"
/bin/rm -rf $SINGULARITY_HOME
exit $SAME_ERROR
fi
echo "summary: OK"
/bin/rm -rf $SINGULARITY_HOME
exit $SAME_OK
fi
echo "ERROR: Could not find singularity on system"
......
......@@ -4,7 +4,7 @@
Summary: WLCG Compliant Probes from %{site}
Name: nagios-plugins-wlcg-org.cms
Version: 1.1.41
Version: 1.1.43
Release: 1%{?dist}
License: GPL
......@@ -49,6 +49,10 @@ install --directory %{buildroot}/etc/cron.d
/etc/cron.d/cms_glexec
%changelog
* Mon Jul 24 2017 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.43-1.
- fixed bug in singularity test by which temp dir was not deleted
* Wed Jul 19 2017 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.42-1.
- fixed singularity test, removed glexec test
* Wed May 24 2017 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.41-1.
- added isolation test and removed singularity
- modified tests to run on RHEL7
......
......@@ -55,9 +55,11 @@ if [ "x$HAS_SINGULARITY" = "xTrue" ]; then
# singularity simple exec failed - we are done
echo "ERROR: Singularity simple exec failed. Disabling support"
echo "summary: SINGULARITY_FAILED"
/bin/rm -rf $SINGULARITY_HOME
exit $SAME_ERROR
fi
echo "summary: OK"
/bin/rm -rf $SINGULARITY_HOME
exit $SAME_OK
fi
echo "ERROR: Could not find singularity on system"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment