Skip to content

Commit 06451cc

Browse files
committed
Test fix
1 parent 2518bc6 commit 06451cc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

http-tests/admin/packages/install-package-ontology.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ curl -k -s \
2929

3030
# verify package ontology document was created (hash of package ontology URI)
3131
package_ontology_hash=$(echo -n "$package_ontology_uri" | shasum -a 1 | cut -d' ' -f1)
32-
curl -k -f -s -o /dev/null \
33-
"${ADMIN_BASE_URL}ontologies/${package_ontology_hash}/"
32+
curl -k -w "%{http_code}\n" -o /dev/null -s \
33+
-E "$OWNER_CERT_FILE":"$OWNER_CERT_PWD" \
34+
"${ADMIN_BASE_URL}ontologies/${package_ontology_hash}/" \
35+
| grep -qE "^($STATUS_OK|$STATUS_NOT_MODIFIED)$"

0 commit comments

Comments
 (0)