Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/atf/dist/atf-sh Work around ksh bug
details: https://anonhg.NetBSD.org/src/rev/6c25bee1b663
branches: trunk
changeset: 342591:6c25bee1b663
user: christos <christos%NetBSD.org@localhost>
date: Wed Dec 30 22:23:02 2015 +0000
description:
Work around ksh bug
diffstat:
external/bsd/atf/dist/atf-sh/libatf-sh.subr | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 3ecffdc07c06 -r 6c25bee1b663 external/bsd/atf/dist/atf-sh/libatf-sh.subr
--- a/external/bsd/atf/dist/atf-sh/libatf-sh.subr Wed Dec 30 18:15:38 2015 +0000
+++ b/external/bsd/atf/dist/atf-sh/libatf-sh.subr Wed Dec 30 22:23:02 2015 +0000
@@ -526,7 +526,10 @@
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
Home |
Main Index |
Thread Index |
Old Index