Fix hooks tests on OS X by expanding BATS_TMPDIR
Fix hooks tests on OS X by expanding BATS_TMPDIR

With `realpath` extension, hooks tests on OS X will output
`/private/tmp` instead of `/tmp` because the latter is an actual symlink
to the former.

Avoid this mistmach in output assertions by expanding BATS_TMPDIR if
`realpath` extension is compiled.

beck/rbenv,yyuu/pyenv,takluyver/pyenv,mediadoneright/rbenv,jeremy/rbenv,intfrr/rbenv,jasonkarns/rbenv,reyesyang/rbenv,jmatbastos/rbenv,jasonkarns/rbenv,cehoffman/rbenv,jeongdeoksu/rbenv,cehoffman/rbenv,intfrr/rbenv,hlecuanda/pyenv,bradynpoulsen/rbenv,OiNutter/nodenv,cyril/rbenv,yogeshkakde/rbenv,rowhit/pyenv,josegonzalez/rbenv,Angeldude/rbenv,avdhoweb/rbenv,janusnic/rbenv,Ferocia/rbenv,viclim/rbenv,yogeshkakde/rbenv,adarshmuthappa/nodenv,docwhat/rbenv,yyyc514/rbenv,viclim/rbenv,jmatbastos/rbenv,RinSer/rbenv,rowhit/pyenv,yogeshkakde/rbenv,jmatbastos/rbenv,jeongdeoksu/rbenv,josegonzalez/rbenv,OiNutter/nodenv,syndbg/goenv,dnsd/pyenv,lozybean/pyenv,andrew-christianson/rbenv,cehoffman/pyenv,nodenv/nodenv,obimod/pyenv,viclim/rbenv,sstephenson/rbenv,dongguangming/pyenv,pumpkineater/rbenv,genome-vendor/pyenv,pyenv/pyenv,sstephenson/rbenv,yyyc514/rbenv,princeofdarkness76/rbenv,howtolearntocode/rbenv,peterpih/rbenv,cehoffman/luaenv,recruit-mtl/pyenv,docwhat/rbenv,habinmusic/pyenv,yeonsh/pyenv,peterpih/rbenv,docwhat/rbenv,avdhoweb/rbenv,rbenv/rbenv,avdhoweb/rbenv,obimod/pyenv,bradynpoulsen/rbenv,fly19890211/pyenv,dark5un/nodenv,SamuraiT/rbenv,jmatbastos/rbenv,syndbg/goenv,xshwy/pyenv,bradynpoulsen/rbenv,VShangxiao/pyenv,Ferocia/rbenv,jmatbastos/rbenv,UCASREN/pyenv,pyenv/pyenv,josegonzalez/rbenv,nodenv/nodenv,BanzaiMan/pyenv,syndbg/goenv,cehoffman/pyenv,Ferocia/rbenv,cehoffman/nodenv,RinSer/rbenv,jrolfs/nodenv,cyril/rbenv,yyuu/pyenv,jmatbastos/rbenv,jeremy/rbenv,rridhan/rbenv,stivenrgalvis/rbenv,pumpkineater/rbenv,recruit-mtl/pyenv,andrew-christianson/rbenv,reyesyang/rbenv,UCASREN/pyenv,sstephenson/rbenv,cehoffman/luaenv,peterpih/rbenv,stivenrgalvis/rbenv,RinSer/rbenv,cehoffman/rbenv,sebhahn/pyenv,lozybean/pyenv,chenfengyuan/pyenv,lozybean/rbenv,dark5un/nodenv,dongguangming/pyenv,jasonkarns/rbenv,jmatbastos/rbenv,sebhahn/pyenv,zmwangx/pyenv,rridhan/rbenv,andrew-christianson/rbenv,habinmusic/pyenv,codesdk/rbenv,SamuraiT/rbenv,princeofdarkness76/rbenv,Angeldude/rbenv,howtolearntocode/rbenv,takluyver/pyenv,syndbg/goenv,hlecuanda/pyenv,sebhahn/pyenv,janusnic/rbenv,stivenrgalvis/rbenv,dnsd/pyenv,BanzaiMan/pyenv,pumpkineater/rbenv,yyyc514/rbenv,reyesyang/rbenv,Angeldude/rbenv,pyenv/pyenv,michael-gabenna/rbenv,michael-gabenna/rbenv,zmwangx/pyenv,lozybean/rbenv,SamuraiT/rbenv,beck/rbenv,jeremy/rbenv,genome-vendor/pyenv,rridhan/rbenv,janusnic/rbenv,codesdk/rbenv,chenfengyuan/pyenv,mediadoneright/rbenv,princeofdarkness76/rbenv,mediadoneright/rbenv,lozybean/rbenv,rbenv/rbenv,cehoffman/nodenv,xshwy/pyenv,VShangxiao/pyenv,fly19890211/pyenv,howtolearntocode/rbenv,jeongdeoksu/rbenv,yeonsh/pyenv,codesdk/rbenv,michael-gabenna/rbenv,adarshmuthappa/nodenv,cyril/rbenv,intfrr/rbenv,jrolfs/nodenv,beck/rbenv