From 67704e78ff77967814eb39fc919ad2373ca4e6ff Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 16 Oct 2006 18:26:09 +0000 Subject: 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@1788 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/executables/puppetbin.rb | 2 ++ test/executables/puppetca.rb | 2 ++ test/executables/puppetd.rb | 2 ++ test/executables/puppetmasterd.rb | 2 ++ test/executables/puppetmodule.rb | 2 ++ 5 files changed, 10 insertions(+) (limited to 'test/executables') diff --git a/test/executables/puppetbin.rb b/test/executables/puppetbin.rb index d7e05a810..c3d357398 100755 --- a/test/executables/puppetbin.rb +++ b/test/executables/puppetbin.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby -I../lib -I../../lib + require 'puppet' require 'puppet/server' require 'puppet/sslcertificates' diff --git a/test/executables/puppetca.rb b/test/executables/puppetca.rb index d7a6933b4..137bdf922 100755 --- a/test/executables/puppetca.rb +++ b/test/executables/puppetca.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby -I../lib -I../../lib + require 'puppet' require 'puppet/server' require 'puppet/sslcertificates' diff --git a/test/executables/puppetd.rb b/test/executables/puppetd.rb index a1a886a0e..9098d76c2 100755 --- a/test/executables/puppetd.rb +++ b/test/executables/puppetd.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby -I../lib -I../../lib + require 'puppet' require 'puppet/server' require 'puppettest' diff --git a/test/executables/puppetmasterd.rb b/test/executables/puppetmasterd.rb index 8d6d30875..0b8c549ec 100755 --- a/test/executables/puppetmasterd.rb +++ b/test/executables/puppetmasterd.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby -I../lib -I../../lib + require 'puppet' require 'puppet/server' require 'puppet/daemon' diff --git a/test/executables/puppetmodule.rb b/test/executables/puppetmodule.rb index 6ffd84be3..b809f218a 100755 --- a/test/executables/puppetmodule.rb +++ b/test/executables/puppetmodule.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby -I../lib -I../../lib + require 'puppet' require 'puppet/server' require 'puppet/sslcertificates' -- cgit