add stub uname value for use_freebsd_pkg function

This commit is contained in:
Yuichiro NAITO 2016-11-24 17:50:09 +09:00
parent 646bb47b81
commit 4dc6d7d7a4

2
test/compiler.bats Normal file → Executable file
View file

@ -55,7 +55,7 @@ DEF
mkdir -p "$INSTALL_ROOT"
cd "$INSTALL_ROOT"
stub uname '-s : echo Darwin'
stub uname '-s : echo Darwin' '-s : echo Darwin'
stub sw_vers '-productVersion : echo 10.10'
stub cc 'false'
stub brew 'false'