Use /usr/bin/test if it exists, and fix test syntax. Should fix Solaris build failures
Use /usr/bin/test if it exists, and fix test syntax.
Should fix Solaris build failures

ryantm/ghc,frantisekfarka/ghc-dsi,snoyberg/ghc,nushio3/ghc,wxwxwwxxx/ghc,gcampax/ghc,gcampax/ghc,green-haskell/ghc,lukexi/ghc,bitemyapp/ghc,mettekou/ghc,snoyberg/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,christiaanb/ghc,oldmanmike/ghc,ezyang/ghc,spacekitteh/smcghc,vTurbine/ghc,ml9951/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,mcmaniac/ghc,mettekou/ghc,jstolarek/ghc,elieux/ghc,ezyang/ghc,tjakway/ghcjvm,mcschroeder/ghc,green-haskell/ghc,lukexi/ghc-7.8-arm64,gcampax/ghc,oldmanmike/ghc,fmthoma/ghc,mfine/ghc,nushio3/ghc,tjakway/ghcjvm,ghc-android/ghc,siddhanathan/ghc,sgillespie/ghc,spacekitteh/smcghc,ryantm/ghc,sgillespie/ghc,ezyang/ghc,vikraman/ghc,christiaanb/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,mcschroeder/ghc,ezyang/ghc,mettekou/ghc,da-x/ghc,hferreiro/replay,TomMD/ghc,ghc-android/ghc,spacekitteh/smcghc,ml9951/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,hferreiro/replay,acowley/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,acowley/ghc,shlevy/ghc,elieux/ghc,sgillespie/ghc,oldmanmike/ghc,urbanslug/ghc,vikraman/ghc,mfine/ghc,jstolarek/ghc,olsner/ghc,olsner/ghc,vikraman/ghc,AlexanderPankiv/ghc,holzensp/ghc,ghc-android/ghc,bitemyapp/ghc,elieux/ghc,urbanslug/ghc,lukexi/ghc-7.8-arm64,gridaphobe/ghc,christiaanb/ghc,bitemyapp/ghc,lukexi/ghc-7.8-arm64,urbanslug/ghc,lukexi/ghc-7.8-arm64,christiaanb/ghc,AlexanderPankiv/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,ilyasergey/GHC-XAppFix,ezyang/ghc,anton-dessiatov/ghc,TomMD/ghc,mcmaniac/ghc,mfine/ghc,nkaretnikov/ghc,vTurbine/ghc,holzensp/ghc,TomMD/ghc,nushio3/ghc,nushio3/ghc,mcschroeder/ghc,mettekou/ghc,tjakway/ghcjvm,ekmett/ghc,snoyberg/ghc,da-x/ghc,sgillespie/ghc,snoyberg/ghc,christiaanb/ghc,nushio3/ghc,vTurbine/ghc,mcschroeder/ghc,oldmanmike/ghc,ryantm/ghc,vikraman/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,fmthoma/ghc,elieux/ghc,spacekitteh/smcghc,nushio3/ghc,tibbe/ghc,nomeata/ghc,holzensp/ghc,frantisekfarka/ghc-dsi,anton-dessiatov/ghc,green-haskell/ghc,lukexi/ghc,forked-upstream-packages-for-ghcjs/ghc,ezyang/ghc,nomeata/ghc,ilyasergey/GHC-XAppFix,urbanslug/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,anton-dessiatov/ghc,ekmett/ghc,vikraman/ghc,olsner/ghc,tibbe/ghc,fmthoma/ghc,mfine/ghc,snoyberg/ghc,mcmaniac/ghc,mfine/ghc,tjakway/ghcjvm,shlevy/ghc,spacekitteh/smcghc,green-haskell/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,shlevy/ghc,mcmaniac/ghc,snoyberg/ghc,acowley/ghc,vikraman/ghc,da-x/ghc,nomeata/ghc,sdiehl/ghc,nkaretnikov/ghc,lukexi/ghc,vTurbine/ghc,sgillespie/ghc,hferreiro/replay,urbanslug/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,fmthoma/ghc,ekmett/ghc,fmthoma/ghc,nathyong/microghc-ghc,hferreiro/replay,nathyong/microghc-ghc,mcschroeder/ghc,gridaphobe/ghc,mettekou/ghc,bitemyapp/ghc,olsner/ghc,ml9951/ghc,AlexanderPankiv/ghc,snoyberg/ghc,TomMD/ghc,shlevy/ghc,nkaretnikov/ghc,jstolarek/ghc,siddhanathan/ghc,ml9951/ghc,gridaphobe/ghc,elieux/ghc,AlexanderPankiv/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,gridaphobe/ghc,lukexi/ghc-7.8-arm64,nomeata/ghc,tjakway/ghcjvm,tibbe/ghc,lukexi/ghc,olsner/ghc,hferreiro/replay,olsner/ghc,TomMD/ghc,olsner/ghc,oldmanmike/ghc,sgillespie/ghc,wxwxwwxxx/ghc,christiaanb/ghc,holzensp/ghc,fmthoma/ghc,gcampax/ghc,siddhanathan/ghc,shlevy/ghc,ghc-android/ghc,ilyasergey/GHC-XAppFix,ml9951/ghc,ml9951/ghc,ghc-android/ghc,christiaanb/ghc,nathyong/microghc-ghc,da-x/ghc,sdiehl/ghc,bitemyapp/ghc,tibbe/ghc,GaloisInc/halvm-ghc,ekmett/ghc,acowley/ghc,frantisekfarka/ghc-dsi,frantisekfarka/ghc-dsi,gcampax/ghc,sdiehl/ghc,AlexanderPankiv/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,nkaretnikov/ghc,mettekou/ghc,gridaphobe/ghc,lukexi/ghc,anton-dessiatov/ghc,green-haskell/ghc,ilyasergey/GHC-XAppFix,urbanslug/ghc,shlevy/ghc,holzensp/ghc,mcschroeder/ghc,vikraman/ghc,acowley/ghc,wxwxwwxxx/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,nathyong/microghc-ghc,gcampax/ghc,mettekou/ghc,oldmanmike/ghc,elieux/ghc,anton-dessiatov/ghc,ezyang/ghc,da-x/ghc,mcmaniac/ghc,AlexanderPankiv/ghc,mfine/ghc,sdiehl/ghc,nushio3/ghc,vTurbine/ghc,ekmett/ghc,anton-dessiatov/ghc,siddhanathan/ghc,elieux/ghc,TomMD/ghc,sdiehl/ghc,sgillespie/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,gridaphobe/ghc,ml9951/ghc,mfine/ghc,ghc-android/ghc,hferreiro/replay,nathyong/microghc-ghc,vTurbine/ghc,siddhanathan/ghc,da-x/ghc,nomeata/ghc,jstolarek/ghc,ml9951/ghc,urbanslug/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,ghc-android/ghc,ryantm/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,fmthoma/ghc,siddhanathan/ghc,mcschroeder/ghc,AlexanderPankiv/ghc