X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcloudtaf.git;a=blobdiff_plain;f=testcases%2Fpost-install%2Fpost_install.robot;h=bd40cdb31c502eb4785c5bfd48a73277c9cc9d75;hp=bb1064aef1fd04e9c5e005c55cab8b5f21e733a4;hb=48946b841066c0a74fc8818c2b42dea67cd5fb6e;hpb=ab8eb903631389c584b998f434700974400cea52 diff --git a/testcases/post-install/post_install.robot b/testcases/post-install/post_install.robot index bb1064a..bd40cdb 100644 --- a/testcases/post-install/post_install.robot +++ b/testcases/post-install/post_install.robot @@ -29,7 +29,7 @@ Testing Deployment Should contain ${out} ${search} Looking up LF Jenkins successful build iso number - ${command}= set variable rpm -qa |grep product-manifest | sed -E 's/^[^-]*-[^-]*-([^-]*)-.*$/\1/' + ${command}= set variable rpm -qa | grep product | awk -F '-' '{sub(/-.*$/, "", $3); print $3}' ${out}= ssh.Execute Command ${command} controller-1 log ${out}