From 29d3df661e6a9d79a9c14499aab50e838d4f9bc7 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Thu, 21 Aug 2014 12:11:20 +0900 Subject: [PATCH] Fix broken tests --- plugins/python-build/test/build.bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/python-build/test/build.bats b/plugins/python-build/test/build.bats index 99349937..c63367ce 100644 --- a/plugins/python-build/test/build.bats +++ b/plugins/python-build/test/build.bats @@ -216,6 +216,7 @@ OUT @test "number of CPU cores defaults to 2" { cached_tarball "Python-3.2.1" + stub uname '-s : echo Darwin' stub uname '-s : echo Darwin' stub sysctl false stub_make_install @@ -240,6 +241,7 @@ OUT @test "number of CPU cores is detected on Mac" { cached_tarball "Python-3.2.1" + stub uname '-s : echo Darwin' stub uname '-s : echo Darwin' stub sysctl '-n hw.ncpu : echo 4' stub_make_install @@ -316,6 +318,7 @@ OUT @test "make on FreeBSD defaults to gmake" { cached_tarball "Python-3.2.1" + stub uname "-s : echo FreeBSD" stub uname "-s : echo FreeBSD" MAKE=gmake stub_make_install