summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-03-21 00:39:26 -0500
committerLuke Kanies <luke@madstop.com>2008-03-21 00:39:26 -0500
commit18320b8e3271f7d1d1702907be1ff420acfc8d2b (patch)
tree159cde5158579fc3b0ae6e502c25b32752d7561c /test
parentf6325dceb3b10c300f421f540281bbd64bdc091e (diff)
downloadpuppet-18320b8e3271f7d1d1702907be1ff420acfc8d2b.tar.gz
puppet-18320b8e3271f7d1d1702907be1ff420acfc8d2b.tar.xz
puppet-18320b8e3271f7d1d1702907be1ff420acfc8d2b.zip
Found all instances of methods where split() is used without
any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
Diffstat (limited to 'test')
-rwxr-xr-xtest/ral/providers/mailalias/aliases.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ral/providers/mailalias/aliases.rb b/test/ral/providers/mailalias/aliases.rb
index 663d4359c..ec8b84684 100755
--- a/test/ral/providers/mailalias/aliases.rb
+++ b/test/ral/providers/mailalias/aliases.rb
@@ -4,7 +4,6 @@ require File.dirname(__FILE__) + '/../../../lib/puppettest'
require 'puppettest'
require 'puppettest/fileparsing'
-require 'puppet/type/mailalias'
class TestMailaliasAliasesProvider < Test::Unit::TestCase
include PuppetTest