From f2e3505921bb6dea1e7a77b584f13f4da8e919fa Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 31 Mar 2022 13:59:04 -0700 Subject: updated pipleline to test against Ruby 3.x and narrowed down the list of OS variables to compare Signed-off-by: John McCrae --- spec/functional/wmi_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/functional/wmi_spec.rb b/spec/functional/wmi_spec.rb index 0c9d5ea..5b3668c 100644 --- a/spec/functional/wmi_spec.rb +++ b/spec/functional/wmi_spec.rb @@ -122,8 +122,6 @@ describe WmiLite::Wmi, :windows_only do # # Update 3/31/2022 # There is no so much variability in the environment variables that we moved from sampling all of them to a select few - - ignore = { "path" => true, "pathext" => true, "processor_architecture" => true, "psmodulepath" => true, "username" => true } results.each do |result| if ! variables.key?(result["name"]) || result["username"] != "" @@ -135,7 +133,6 @@ describe WmiLite::Wmi, :windows_only do processor_count_from_ruby = `echo #{ENV["NUMBER_OF_PROCESSORS"]}`.strip expect(processor_count_from_wmi).to eql(processor_count_from_ruby) - operating_system_from_wmi = variables["OS"] operating_system_from_ruby = `echo #{ENV["OS"]}`.strip expect(/#{operating_system_from_wmi}/).to eql(/#{operating_system_from_ruby}/) -- cgit v1.2.1