Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(tests): call other tests scripts in local dir by explicit path
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Aug 30, 2014
1 parent 9bc583c commit 3b7edd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/bin/destroy-all-vagrants.sh
Expand Up @@ -8,3 +8,4 @@ VMS=$(vagrant global-status | grep deis | awk '{ print $5 }')
for dir in $VMS; do
cd $dir && vagrant destroy --force
done
rm -rf $HOME/VirtualBox\ VMs/deis*
3 changes: 2 additions & 1 deletion tests/bin/test-integration.sh
Expand Up @@ -3,6 +3,7 @@
# Preps a test environment and runs `make test-integration` with single-node vagrant.

echo Testing ${DEIS_TEST_APP?}...
THIS_DIR=$(cd $(dirname $0); pwd) # absolute path

# Environment reset and configuration
rm -rf ~/.deis ~/.fleetctl ~/.ssh/known_hosts
Expand All @@ -13,7 +14,7 @@ cd ${GOPATH?}/src/github.com/deis/deis
rm -rf tests/example-*

# Vagrant provisioning
tests/bin/halt-all-vagrant.sh
$THIS_DIR/halt-all-vagrants.sh
vagrant destroy --force
vagrant up --provider virtualbox --provision

Expand Down

0 comments on commit 3b7edd7

Please sign in to comment.