blob: 5fd9b984b4e8ff5cf91da0b0e83a07d21d49e2d0 [file] [log] [blame]
Andy Baviercaeab6a2016-12-12 14:58:01 -05001#!/usr/bin/env bash
2
3set -e
4
5CORDDIR=~/opencord
6VMDIR=/cord/build/
7CONFIG=config/cord_in_a_box.yml
8SSHCONFIG=~/.ssh/config
9
10function run_e2e_test () {
11 cd $CORDDIR/build
12
13 # User has been added to the lbvirtd group, but su $USER to be safe
14 ssh corddev "cd /cord/build; ./gradlew -PdeployConfig=$VMDIR/$CONFIG postDeployTests"
15}
16
17run_e2e_test
18
19exit 0