Commit 646bb47b by Yuichiro NAITO

add stub uname default value

parent 1aa052b3
...@@ -204,7 +204,7 @@ OUT ...@@ -204,7 +204,7 @@ OUT
@test "number of CPU cores defaults to 2" { @test "number of CPU cores defaults to 2" {
cached_tarball "ruby-2.0.0" cached_tarball "ruby-2.0.0"
stub uname '-s : echo Darwin' stub uname '-s : echo Darwin' false
stub sysctl false stub sysctl false
stub_make_install stub_make_install
...@@ -227,7 +227,7 @@ OUT ...@@ -227,7 +227,7 @@ OUT
@test "number of CPU cores is detected on Mac" { @test "number of CPU cores is detected on Mac" {
cached_tarball "ruby-2.0.0" cached_tarball "ruby-2.0.0"
stub uname '-s : echo Darwin' stub uname '-s : echo Darwin' false
stub sysctl '-n hw.ncpu : echo 4' stub sysctl '-n hw.ncpu : echo 4'
stub_make_install stub_make_install
...@@ -251,7 +251,7 @@ OUT ...@@ -251,7 +251,7 @@ OUT
@test "number of CPU cores is detected on FreeBSD" { @test "number of CPU cores is detected on FreeBSD" {
cached_tarball "ruby-2.0.0" cached_tarball "ruby-2.0.0"
stub uname '-s : echo FreeBSD' stub uname '-s : echo FreeBSD' false
stub sysctl '-n hw.ncpu : echo 1' stub sysctl '-n hw.ncpu : echo 1'
stub_make_install stub_make_install
...@@ -324,7 +324,7 @@ OUT ...@@ -324,7 +324,7 @@ OUT
@test "make on FreeBSD 9 defaults to gmake" { @test "make on FreeBSD 9 defaults to gmake" {
cached_tarball "ruby-2.0.0" cached_tarball "ruby-2.0.0"
stub uname "-s : echo FreeBSD" "-r : echo 9.1" stub uname "-s : echo FreeBSD" "-r : echo 9.1" false
MAKE=gmake stub_make_install MAKE=gmake stub_make_install
MAKE= install_fixture definitions/vanilla-ruby MAKE= install_fixture definitions/vanilla-ruby
...@@ -337,7 +337,7 @@ OUT ...@@ -337,7 +337,7 @@ OUT
@test "make on FreeBSD 10" { @test "make on FreeBSD 10" {
cached_tarball "ruby-2.0.0" cached_tarball "ruby-2.0.0"
stub uname "-s : echo FreeBSD" "-r : echo 10.0-RELEASE" stub uname "-s : echo FreeBSD" "-r : echo 10.0-RELEASE" false
stub_make_install stub_make_install
MAKE= install_fixture definitions/vanilla-ruby MAKE= install_fixture definitions/vanilla-ruby
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment