diff options
| author | Luke Kanies <luke@madstop.com> | 2005-07-19 21:49:09 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-07-19 21:49:09 +0000 |
| commit | 9a5477b8c46841c6cf313ee9769afdeda559fb4b (patch) | |
| tree | da2104b5af68ba7df83567477cc20b1017010b07 /test | |
| parent | 0e94644b6e2ccbd0a3d52cb210bcfced39321194 (diff) | |
checkpoint commit
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@424 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rw-r--r-- | test/types/tc_file.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/types/tc_file.rb b/test/types/tc_file.rb index d7df72311..677cc6ae5 100644 --- a/test/types/tc_file.rb +++ b/test/types/tc_file.rb @@ -353,6 +353,7 @@ class TestFile < Test::Unit::TestCase assert_nothing_raised { comp.sync } + assert(FileTest.exists?(topath)) from = File.open(frompath) { |o| o.read } to = File.open(topath) { |o| o.read } assert_equal(from,to) @@ -362,7 +363,7 @@ class TestFile < Test::Unit::TestCase end def test_xcomplicatedlocalsource - path = "/tmp/filesourcetest" + path = "/tmp/complsourcetest" @@tmpfiles.push path system("mkdir -p #{path}") fromdir = File.join(path,"fromdir") |
