components/bash/patches/solaris-028.missing_HOME.patch
branchs11u3-sru
changeset 7627 4758b76d5ad5
equal deleted inserted replaced
7623:d89b1c5817f5 7627:4758b76d5ad5
       
     1 # If $HOME is not set (running from cron perhaps), the tests will output:
       
     2 # 26d25
       
     3 # < ./comsub-posix.tests: line 103: cd: HOME not set
       
     4 # 28d26
       
     5 # < ./comsub-posix.tests: line 106: cd: HOME not set
       
     6 #
       
     7 # Reported to [email protected]
       
     8 
       
     9 --- tests/comsub-posix.tests	2016-11-29 03:41:57.414081235 +0000
       
    10 +++ tests/comsub-posix.tests	2016-11-29 03:36:30.425718528 +0000
       
    11 @@ -1,4 +1,5 @@
       
    12 -
       
    13 +HOME=${HOME:-/}
       
    14 +export HOME
       
    15  # works right
       
    16  echo ab$(echo mnop)yz
       
    17  # works right