Commit 6e01ed62420cae33e54cf290342e889f151a0880
1 parent
e521f6e6
Exists in
master
and in
90 other branches
Fix test_helper.sh to point to the right SSH config file
In 23a78, we forgot to run the tests with the new SSH config files, this commit fixes that. Note that it sets the SPB_ENV variable on calling tests/run_all in the Rakefile. Maybe we want to call that explicitly, if so, we should remove the Rakefile change. Signed-off-by: Carolina Ramalho <carol15022@hotmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
Rakefile
test/test_helper.sh
... | ... | @@ -4,7 +4,7 @@ export ROOTDIR="$(dirname $0)/.." |
4 | 4 | run_on() { |
5 | 5 | local vm="$1" |
6 | 6 | shift |
7 | - echo 'export PATH=/vagrant/test/bin:$PATH;' "$@" | ssh -F .ssh_config "$vm" | |
7 | + echo 'export PATH=/vagrant/test/bin:$PATH;' "$@" | ssh -F config/$SPB_ENV/ssh_config "$vm" | |
8 | 8 | } |
9 | 9 | |
10 | 10 | load_shunit2() { | ... | ... |