os: don't assume Linux if testing generic OS.
This commit is contained in:
parent
1aded31fec
commit
0fd0ecd599
@ -5,6 +5,7 @@ module OS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.linux?
|
def self.linux?
|
||||||
|
return false if ENV["HOMEBREW_TEST_GENERIC_OS"]
|
||||||
RUBY_PLATFORM.to_s.downcase.include? "linux"
|
RUBY_PLATFORM.to_s.downcase.include? "linux"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user