# $HOME is unset when running the mac unit tests.if[[-z${HOME+x}]]then# Note that while ~ usually refers to $HOME, in the case where $HOME is unset,# it looks up the current user's home dir, which is what we want.# https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.htmlexport HOME=$(cd ~ &&pwd)fi