diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-28 17:19:45 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-28 17:19:45 +0000 |
| commit | 047e63f8481a95c32ceccc22673d4a08659ec9c8 (patch) | |
| tree | 718db0c8deeac14385627f6a2b25ec055fd3ad03 /test | |
| parent | 94caa8a48f32ed1fd3aa38dc43e2add97026fcf2 (diff) | |
| download | puppet-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-x | test/types/filesources.rb | 2 |
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) |
