diff options
author | 2016-09-12 15:23:31 -0700 | |
---|---|---|
committer | 2016-09-12 15:23:31 -0700 | |
commit | e34fea7f4f256140c8edea4386997b303f593755 (patch) | |
tree | a74a3cb55707b14dfe2f677db9b9d54c4a2b50b8 /tests/vHello.sh | |
parent | b45ac89fde60a16ee921b7e3c24df08f01f7716b (diff) |
Add /bin/bash to prevent docker hanging
JIRA: MODELS-23
Change-Id: I18d8a950bc065ad6e17534073792841ccb247f97
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/vHello.sh')
-rw-r--r-- | tests/vHello.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vHello.sh b/tests/vHello.sh index f8453b0..c3c92a5 100644 --- a/tests/vHello.sh +++ b/tests/vHello.sh @@ -204,7 +204,7 @@ if [[ "$2" == "setup" ]]; then echo "$0: cloudify-setup part 2" CONTAINER=$(sudo docker ps -l | awk "/cloudify/ { print \$1 }") - sudo docker exec $CONTAINER /tmp/cloudify/cloudify-setup.sh $1 setup + sudo docker exec $CONTAINER /bin/bash /tmp/cloudify/cloudify-setup.sh $1 setup if [ $? -eq 1 ]; then fail; fi pass else @@ -215,7 +215,7 @@ else else echo "$0: pass $2 command to vHello.sh in cloudify container" CONTAINER=$(sudo docker ps -a | awk "/cloudify/ { print \$1 }") - sudo docker exec $CONTAINER /tmp/cloudify/vHello.sh $1 $2 $2 + sudo docker exec $CONTAINER /bin/bash /tmp/cloudify/vHello.sh $1 $2 $2 if [ $? -eq 1 ]; then fail; fi pass fi |