-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
TIG 2017-10-23
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The expansion key set_sudo can cause an errexit, since it uses the following logic:
set -o | grep errexit | grep on
It would better if we did the following:
set -o > /tmp/settings.log set +o errexit grep errexit /tmp/settings.log | grep on errexit_on=$?