Work around ksh bug

This commit is contained in:
christos 2015-12-30 22:23:02 +00:00
parent 2732a80b37
commit d182ef4fb3
1 changed files with 3 additions and 0 deletions

View File

@ -526,7 +526,10 @@ _atf_list_tcs()
echo "ident: $(atf_get ident)"
for _var in ${Test_Case_Vars}; do
# Elide ksh bug!
set +e
[ "${_var}" != "ident" ] && echo "${_var}: $(atf_get ${_var})"
set -e
done
[ ${#} -gt 1 ] && echo