diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-28 18:51:11 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-28 18:51:11 +0000 |
| commit | d98ab112a6ed5cd84d4e8b2e9c349283923ecc29 (patch) | |
| tree | d9c82931d478000925b10aa76212b2a90a96b91c /test | |
| parent | 4985d8fc6b74d99a3770293a1323949056b023bd (diff) | |
| download | puppet-d98ab112a6ed5cd84d4e8b2e9c349283923ecc29.tar.gz puppet-d98ab112a6ed5cd84d4e8b2e9c349283923ecc29.tar.xz puppet-d98ab112a6ed5cd84d4e8b2e9c349283923ecc29.zip | |
Fixing zone tests
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1329 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rwxr-xr-x | test/types/zone.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/types/zone.rb b/test/types/zone.rb index 302e2bb05..4370c300d 100755 --- a/test/types/zone.rb +++ b/test/types/zone.rb @@ -339,7 +339,7 @@ end # Include a bunch of stuff so the zone isn't as large dirs = %w{/usr /sbin /lib /platform} - %w{/opt/csw /usr/local}.each do |dir| + %w{/opt/csw}.each do |dir| dirs << dir if FileTest.exists? dir end zone[:inherit] = dirs @@ -371,7 +371,7 @@ end zone = mkzone("methodtesting") dirs = %w{/usr /sbin /lib /platform} - %w{/opt/csw /usr/local}.each do |dir| + %w{/opt/csw}.each do |dir| dirs << dir if FileTest.exists? dir end zone[:inherit] = dirs @@ -383,6 +383,7 @@ end [:uninstall, :configured], [:unconfigure, :absent] ].each do |method, state| + Puppet.info "Testing %s" % method assert_nothing_raised { zone.retrieve } @@ -403,7 +404,7 @@ end # Include a bunch of stuff so the zone isn't as large dirs = %w{/usr /sbin /lib /platform} - %w{/opt/csw /usr/local}.each do |dir| + %w{/opt/csw}.each do |dir| dirs << dir if FileTest.exists? dir end zone[:inherit] = dirs |
