From 047e63f8481a95c32ceccc22673d4a08659ec9c8 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 28 Apr 2006 17:19:45 +0000 Subject: Making file copying significantly faster -- i found an extra call to "describe" in file sources and an extra read/checksumming of the dest file git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1147 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/types/filesources.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/types/filesources.rb b/test/types/filesources.rb index e4e59bb78..d9afcf681 100755 --- a/test/types/filesources.rb +++ b/test/types/filesources.rb @@ -85,7 +85,7 @@ class TestFileSources < Test::Unit::TestCase assert_apply(tofile) - assert(FileTest.exists?(topath)) + assert(FileTest.exists?(topath), "File #{topath} is missing") from = File.open(frompath) { |o| o.read } to = File.open(topath) { |o| o.read } assert_equal(from,to) -- cgit