components/bash/patches/solaris-016.run-all.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Thu, 26 Jan 2017 12:24:45 +0100
branchs11u3-sru
changeset 7627 4758b76d5ad5
permissions -rw-r--r--
25123965 Update bash to version 4.4 24689447 problem in UTILITY/BASH 21341453 process hangs when terminated with unfinished command 21196056 bash test is failing to finish 19394218 bash : Parameter Substitution Causing Memory Leak

# Our build system exports SHELLOPTS which makes testing fail We could have set
# "unexport SHELLOPTS" in our Makefile, but maybe this will be accepted by
# community?
#
# Reported to [email protected]

--- tests/run-all	2016-11-28 00:46:51.812583704 -0800
+++ tests/run-all	2016-11-28 00:45:20.302845042 -0800
@@ -17,7 +17,7 @@ export PATH
 # unset BASH_ENV only if it is set
 [ "${BASH_ENV+set}" = "set" ] && unset BASH_ENV
 # ditto for SHELLOPTS
-#[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
+[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
 
 : ${THIS_SH:=../bash}
 export THIS_SH