mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 23:47:28 +00:00
test(connect): match offline enrollment rejection (#6675)
test(connect): match offline rejection message
This commit is contained in:
@@ -69,7 +69,7 @@ then
|
|||||||
echo 'offline enrollment E2E gate: production CLI accepted the E2E root' >&2
|
echo 'offline enrollment E2E gate: production CLI accepted the E2E root' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
grep -Fq 'the offline enrollment trust chain is not issued by a root pinned in this build' \
|
grep -Fq 'rustfs-cli: the trust chain is not issued by a root pinned in this build' \
|
||||||
"${task_root}/production.stderr" \
|
"${task_root}/production.stderr" \
|
||||||
|| { echo 'offline enrollment E2E gate: production CLI failed for the wrong reason' >&2; exit 1; }
|
|| { echo 'offline enrollment E2E gate: production CLI failed for the wrong reason' >&2; exit 1; }
|
||||||
test ! -e "${task_root}/production-response.json" \
|
test ! -e "${task_root}/production-response.json" \
|
||||||
|
|||||||
Reference in New Issue
Block a user