From: Juha Kosonen Date: Thu, 12 Sep 2019 08:37:34 +0000 (+0300) Subject: Fix repo url retrieval X-Git-Tag: 2.0.0~40 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=e6b82a7ccd840c8b089ae4d5e69930fd0dd5ef35;p=validation.git Fix repo url retrieval Allow also non-printable characters as a field separator when listing repositories. JIRA: VAL-47 Change-Id: If8628fd55adc5f2d38e8680d3f96e9a0cbd5b94e Signed-off-by: Juha Kosonen --- diff --git a/tests/helm/helm_repository.resource b/tests/helm/helm_repository.resource index e6ca3a2..eb4c4c7 100644 --- a/tests/helm/helm_repository.resource +++ b/tests/helm/helm_repository.resource @@ -47,7 +47,8 @@ Build Chart Archive Set Suite Variable ${CHARTARC} Get Default Repository - ${REPOURL}= Execute Command helm repo list | grep '^${REPONAME} ' | cut -f2 + ${REPOURL}= Execute Command + ... helm repo list | grep '^${REPONAME}\\([[:blank:]]\\|[^[:print:]]\\)' | cut -f2 Set Suite Variable ${REPOURL} Should Not Be Empty ${REPOURL}