summaryrefslogtreecommitdiffstats
path: root/test/puppet
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-16 18:26:41 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-16 18:26:41 +0000
commit816c5ce7243bdad1157985dd23a7333b9a8ccf0a (patch)
tree3d3c03c8baeb066c7ed9a36cea469d432f4ebb87 /test/puppet
parent1d56ca63ef3405c1599f64bf9a6ae899debf1434 (diff)
downloadpuppet-816c5ce7243bdad1157985dd23a7333b9a8ccf0a.tar.gz
puppet-816c5ce7243bdad1157985dd23a7333b9a8ccf0a.tar.xz
puppet-816c5ce7243bdad1157985dd23a7333b9a8ccf0a.zip
Adding a ruby header to all of the tests so that they can now be executed as normal ruby scripts. Using multiple commits because I am having some svn problems.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1791 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/puppet')
-rwxr-xr-xtest/puppet/conffiles.rb2
-rwxr-xr-xtest/puppet/defaults.rb2
-rwxr-xr-xtest/puppet/errortest.rb2
-rwxr-xr-xtest/puppet/tc_suidmanager.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/test/puppet/conffiles.rb b/test/puppet/conffiles.rb
index 9234e2dfd..ba9a74bd3 100755
--- a/test/puppet/conffiles.rb
+++ b/test/puppet/conffiles.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppet/config'
require 'puppettest'
diff --git a/test/puppet/defaults.rb b/test/puppet/defaults.rb
index 250fd29c0..0ba217216 100755
--- a/test/puppet/defaults.rb
+++ b/test/puppet/defaults.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'
diff --git a/test/puppet/errortest.rb b/test/puppet/errortest.rb
index 264cde857..5e35a8358 100755
--- a/test/puppet/errortest.rb
+++ b/test/puppet/errortest.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'
diff --git a/test/puppet/tc_suidmanager.rb b/test/puppet/tc_suidmanager.rb
index c9b843147..b157080ca 100755
--- a/test/puppet/tc_suidmanager.rb
+++ b/test/puppet/tc_suidmanager.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'
require 'test/unit'