Since 90ab16c, non defined aliases return None when accessed, instead of raising XmlTemplateError exception, making this test invalid. This patch fixes it, so it expects failure instead of an error
Signed-off-by: Jiri Prochazka jprochaz@redhat.com --- regression-tests/tests/13/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regression-tests/tests/13/run.sh b/regression-tests/tests/13/run.sh index f988ae6..b72d1e2 100755 --- a/regression-tests/tests/13/run.sh +++ b/regression-tests/tests/13/run.sh @@ -17,6 +17,6 @@ assert_status "fail" "$rv" lnst-ctl -d run taskapi-alias-namespace-check.xml rv=$?
-assert_status "error" "$rv" +assert_status "fail" "$rv"
end_test
Thu, Aug 27, 2015 at 10:54:49AM CEST, jprochaz@redhat.com wrote:
Since 90ab16c, non defined aliases return None when accessed, instead of raising XmlTemplateError exception, making this test invalid. This patch fixes it, so it expects failure instead of an error
Signed-off-by: Jiri Prochazka jprochaz@redhat.com
regression-tests/tests/13/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regression-tests/tests/13/run.sh b/regression-tests/tests/13/run.sh index f988ae6..b72d1e2 100755 --- a/regression-tests/tests/13/run.sh +++ b/regression-tests/tests/13/run.sh @@ -17,6 +17,6 @@ assert_status "fail" "$rv" lnst-ctl -d run taskapi-alias-namespace-check.xml rv=$?
-assert_status "error" "$rv" +assert_status "fail" "$rv"
end_test
2.4.3
LNST-developers mailing list LNST-developers@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/lnst-developers
Acked-by: Jan Tluka jtluka@redhat.com
Thu, Aug 27, 2015 at 10:54:49AM CEST, jprochaz@redhat.com wrote:
Since 90ab16c, non defined aliases return None when accessed, instead of raising XmlTemplateError exception, making this test invalid. This patch fixes it, so it expects failure instead of an error
Signed-off-by: Jiri Prochazka jprochaz@redhat.com
regression-tests/tests/13/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regression-tests/tests/13/run.sh b/regression-tests/tests/13/run.sh index f988ae6..b72d1e2 100755 --- a/regression-tests/tests/13/run.sh +++ b/regression-tests/tests/13/run.sh @@ -17,6 +17,6 @@ assert_status "fail" "$rv" lnst-ctl -d run taskapi-alias-namespace-check.xml rv=$?
-assert_status "error" "$rv" +assert_status "fail" "$rv"
end_test
2.4.3
LNST-developers mailing list LNST-developers@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/lnst-developers
Applied.
lnst-developers@lists.fedorahosted.org