Update tests.yml to grep correct string.

This commit is contained in:
Shalini Khandelwal 2023-12-12 11:44:05 +00:00
parent 2f9b29c19d
commit 694f801013

View File

@ -8,10 +8,10 @@
tests:
- verify_spawn_ca:
dir: .
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep '<Status>running</Status>'"
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep '\"running\"'"
- verify_spawn_kra:
dir: .
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep '<Status>running</Status>'"
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep '\"running\"'"
- destroy_kra:
dir: .
run: "pkidestroy -i pki-tomcat -s KRA && sleep 5"