From 147a3c42edec04862d95405515bcbe8c30c087bb Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 26 Nov 2018 18:41:09 -0800 Subject: Rely on os-release for Mint and Raspbian Nothing supported here lacks os-release files Signed-off-by: Tim Smith --- spec/unit/plugins/linux/platform_spec.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/unit/plugins/linux/platform_spec.rb') diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb index b14cc55f..786c306c 100644 --- a/spec/unit/plugins/linux/platform_spec.rb +++ b/spec/unit/plugins/linux/platform_spec.rb @@ -271,7 +271,6 @@ OS_DATA allow(File).to receive(:exist?).with("/etc/enterprise-release").and_return(have_enterprise_release) allow(File).to receive(:exist?).with("/etc/oracle-release").and_return(have_oracle_release) allow(File).to receive(:exist?).with("/etc/parallels-release").and_return(have_parallels_release) - allow(File).to receive(:exist?).with("/usr/bin/raspi-config").and_return(have_raspi_config) allow(File).to receive(:exist?).with("/etc/os-release").and_return(have_os_release) allow(File).to receive(:exist?).with("/etc/f5-release").and_return(have_f5_release) allow(File).to receive(:exist?).with("/usr/lib/os-release").and_return(have_usr_lib_os_release) -- cgit v1.2.1