From 6e01ed62420cae33e54cf290342e889f151a0880 Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Thu, 19 Mar 2015 12:11:50 -0300 Subject: [PATCH] Fix test_helper.sh to point to the right SSH config file --- Rakefile | 2 +- test/test_helper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index f627921..6f9282c 100644 --- a/Rakefile +++ b/Rakefile @@ -31,7 +31,7 @@ task :console do end task :test do - sh './test/run_all' + sh "SPB_ENV=#{$SPB_ENV} ./test/run_all" end task :default => :test diff --git a/test/test_helper.sh b/test/test_helper.sh index dd1c5a6..cffad7b 100644 --- a/test/test_helper.sh +++ b/test/test_helper.sh @@ -4,7 +4,7 @@ export ROOTDIR="$(dirname $0)/.." run_on() { local vm="$1" shift - echo 'export PATH=/vagrant/test/bin:$PATH;' "$@" | ssh -F .ssh_config "$vm" + echo 'export PATH=/vagrant/test/bin:$PATH;' "$@" | ssh -F config/$SPB_ENV/ssh_config "$vm" } load_shunit2() { -- libgit2 0.21.2