diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-13 17:07:08 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-13 17:07:08 +0000 |
commit | ec7d46ee00c4f86d92d618066b773dc14e0f5d17 (patch) | |
tree | fcf11619091c0fe5243c7326677dd9c8608e46e8 | |
parent | f851be7c9d966d18e793b66a28d35a8e62dd04a0 (diff) | |
download | puppet-ec7d46ee00c4f86d92d618066b773dc14e0f5d17.tar.gz puppet-ec7d46ee00c4f86d92d618066b773dc14e0f5d17.tar.xz puppet-ec7d46ee00c4f86d92d618066b773dc14e0f5d17.zip |
fixing small bug in the test code when there are no packages to test
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1020 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | test/types/package.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/types/package.rb b/test/types/package.rb index a0dcd9258..b83b46952 100644 --- a/test/types/package.rb +++ b/test/types/package.rb @@ -231,7 +231,8 @@ class TestPackages < Test::Unit::TestCase def test_upgradepkg tstpkgs.each do |name, sources| unless sources and sources.is_a? Array - $stderr.puts "Skipping pkg test for %s" % pkg + $stderr.puts "Skipping pkg upgrade test for %s" % name + next end first, second = sources |