summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-16 18:26:14 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-16 18:26:14 +0000
commit624eddfb279c640f42fb08438c9d0879ea53f8cf (patch)
tree3b79eb5db324a423d963441cb1eb68a62e7522d8
parent67704e78ff77967814eb39fc919ad2373ca4e6ff (diff)
downloadpuppet-624eddfb279c640f42fb08438c9d0879ea53f8cf.tar.gz
puppet-624eddfb279c640f42fb08438c9d0879ea53f8cf.tar.xz
puppet-624eddfb279c640f42fb08438c9d0879ea53f8cf.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@1789 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xtest/util/classgen.rb2
-rwxr-xr-xtest/util/execution.rb2
-rwxr-xr-xtest/util/package.rb2
-rwxr-xr-xtest/util/utiltest.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/test/util/classgen.rb b/test/util/classgen.rb
index 3c49f5ce9..e1c9644a4 100755
--- a/test/util/classgen.rb
+++ b/test/util/classgen.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'
diff --git a/test/util/execution.rb b/test/util/execution.rb
index 932e03807..45c3a3b07 100755
--- a/test/util/execution.rb
+++ b/test/util/execution.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'
diff --git a/test/util/package.rb b/test/util/package.rb
index bb5cd3c85..5ea5570f7 100755
--- a/test/util/package.rb
+++ b/test/util/package.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppet/util/package'
require 'puppettest'
diff --git a/test/util/utiltest.rb b/test/util/utiltest.rb
index f18f16906..96af3c017 100755
--- a/test/util/utiltest.rb
+++ b/test/util/utiltest.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby -I../lib -I../../lib
+
require 'puppet'
require 'puppettest'