Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update specs to not break other virts when looking for OpenVZ

  • Loading branch information...
commit 2a78292dab4020975640142537a5566cbc90607f 1 parent 4f1280d
@btm btm authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  spec/ohai/plugins/linux/virtualization_spec.rb
View
3  spec/ohai/plugins/linux/virtualization_spec.rb
@@ -32,7 +32,8 @@
File.stub!(:exists?).with("/proc/cpuinfo").and_return(false)
File.stub!(:exists?).with("/usr/sbin/dmidecode").and_return(false)
File.stub!(:exists?).with("/proc/self/status").and_return(false)
- File.stub!(:exists?).with("/proc/user_beancounters").and_return(false)
+ File.stub!(:exists?).with("/proc/bc/0").and_return(false)
+ File.stub!(:exists?).with("/proc/vz").and_return(false)
end
describe "when we are checking for xen" do
Please sign in to comment.
Something went wrong with that request. Please try again.