summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-04-28 17:19:45 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-04-28 17:19:45 +0000
commit047e63f8481a95c32ceccc22673d4a08659ec9c8 (patch)
tree718db0c8deeac14385627f6a2b25ec055fd3ad03 /test
parent94caa8a48f32ed1fd3aa38dc43e2add97026fcf2 (diff)
downloadpuppet-047e63f8481a95c32ceccc22673d4a08659ec9c8.tar.gz
puppet-047e63f8481a95c32ceccc22673d4a08659ec9c8.tar.xz
puppet-047e63f8481a95c32ceccc22673d4a08659ec9c8.zip
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
Diffstat (limited to 'test')
-rwxr-xr-xtest/types/filesources.rb2
1 files changed, 1 insertions, 1 deletions
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)