Tony Asleson
2015-03-03 00:27:14 UTC
If you have LSMCLI_PASSWORD set and you run the test it will fail
as the test runs with a URI without a user id set.
Signed-off-by: Tony Asleson <***@redhat.com>
---
test/runtests.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/runtests.sh b/test/runtests.sh
index c151b93..541e194 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -70,6 +70,11 @@ good() {
# Add a signal handler to clean-up
trap "cleanup; exit 1" INT
+# Unset these as they can cause the test case to fail
+# specifically the password one, but remove both.
+unset LSMCLI_PASSWORD
+unset LSMCLI_URI
+
#Put us in a consistent spot
cd "$(dirname "$0")"
as the test runs with a URI without a user id set.
Signed-off-by: Tony Asleson <***@redhat.com>
---
test/runtests.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/runtests.sh b/test/runtests.sh
index c151b93..541e194 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -70,6 +70,11 @@ good() {
# Add a signal handler to clean-up
trap "cleanup; exit 1" INT
+# Unset these as they can cause the test case to fail
+# specifically the password one, but remove both.
+unset LSMCLI_PASSWORD
+unset LSMCLI_URI
+
#Put us in a consistent spot
cd "$(dirname "$0")"
--
1.7.1
1.7.1