diff options
| author | James Turnbull <james@lovedthanlost.net> | 2008-10-29 14:36:20 +1100 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-10-29 14:36:20 +1100 |
| commit | 56f3be66a437f5c2c60187d34681813ec7246228 (patch) | |
| tree | cf7b3baf4d13de2ab2ad9fe2c144189d69151d95 | |
| parent | 4806c51d309e43d0adc45d743a0ea85c3dc2da0d (diff) | |
| download | puppet-56f3be66a437f5c2c60187d34681813ec7246228.tar.gz puppet-56f3be66a437f5c2c60187d34681813ec7246228.tar.xz puppet-56f3be66a437f5c2c60187d34681813ec7246228.zip | |
Fixed #1710 - Spurious output in test run
| -rw-r--r-- | CHANGELOG | 2 | ||||
| -rwxr-xr-x | test/certmgr/support.rb | 6 |
2 files changed, 2 insertions, 6 deletions
@@ -1,4 +1,6 @@ 0.24.x + Fixed #1710 - Spurious output in test run + Fixed #1667 - Documentation should specify natural language regexs, not Regexp objects Fixed #1692 - k5login fails to set mode when file is created diff --git a/test/certmgr/support.rb b/test/certmgr/support.rb index 10d431939..d418c6771 100755 --- a/test/certmgr/support.rb +++ b/test/certmgr/support.rb @@ -86,17 +86,11 @@ class TestCertSupport < Test::Unit::TestCase # Write a key out to disk in a file containing upper-case. key = OpenSSL::PKey::RSA.new(32) should_path = Puppet[:hostprivkey] - puts "%s: %s" % [should_path, FileTest.exist?(should_path).inspect] dir, file = File.split(should_path) newfile = file.sub(/^([a-z.]+)\./) { $1.upcase + "."} - puts "%s: %s" % [should_path, FileTest.exist?(should_path).inspect] upper_path = File.join(dir, newfile) - puts "%s: %s" % [should_path, FileTest.exist?(should_path).inspect] - puts "%s: %s" % [upper_path, FileTest.exist?(upper_path).inspect] File.open(upper_path, "w") { |f| f.print key.to_s } - puts "%s: %s" % [should_path, FileTest.exist?(should_path).inspect] - puts "%s: %s" % [upper_path, FileTest.exist?(upper_path).inspect] user = CertUser.new |
