Update tests.yml to grep the updated curl output

This commit is contained in:
Shalini Khandelwal 2025-07-21 08:55:44 +00:00
parent 0e6dc15cdf
commit c5f64ad2bd

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"