From db4facecf6bd8a8e4629165aafa813652bf2d53d Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 22 Jan 2009 11:02:16 +1100 Subject: Fixed autotest on win32 --- CHANGELOG | 4 ++++ autotest/facter_rspec.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a714e81..91ae3d4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,8 @@ 1.5.3: + Fixed autotest on win32 + + Fixed #1870 - Added interface support for Darwin + Fixed #1791 - support for virtual fact on Solaris 10 Fixed #1793 - Added more Solaris 10 facts diff --git a/autotest/facter_rspec.rb b/autotest/facter_rspec.rb index 668409b..0ec65b0 100644 --- a/autotest/facter_rspec.rb +++ b/autotest/facter_rspec.rb @@ -40,6 +40,6 @@ end class Autotest::FacterRspec < Autotest::Rspec def spec_commands ENV["AUTOTEST"] = "true" - ENV["PATH"].split(":").collect { |dir| File.join(dir, "spec") } + ENV["PATH"].split(File::PATH_SEPARATOR).collect { |dir| File.join(dir, "spec") } end end -- cgit