minor change at initopenvim script 96/996/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 20 Jan 2017 13:10:05 +0000 (14:10 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 20 Jan 2017 13:10:05 +0000 (14:10 +0100)
Change-Id: I9b8e9b5832ead698d49ec7732aa91e7b69d5c191
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
scripts/initopenvim.sh

index 44fe9e2..ae839ba 100755 (executable)
@@ -195,7 +195,7 @@ then
     ${DIRvim}/openvim net-create $DIRvim/test/networks/net-example3.yaml || ! echo "fail" >&2 || $_exit 1
 
     printf "%-50s" "Creating openvim tenant 'TEST-admin': "
-    result=`openvim tenant-create '{"tenant": {"name":"TEST-admin", "description":"admin"}}'`
+    result=`${DIRvim}/openvim tenant-create '{"tenant": {"name":"TEST-admin", "description":"admin"}}'`
     vimtenant=`echo $result |gawk '{print $1}'`
     #check a valid uuid is obtained
     ! is_valid_uuid $vimtenant && echo "FAIL" && echo "    $result" && $_exit 1