mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
protoio: Use new protobuf API for text marshalling
This patch makes protoio use the new protobuf API for marshalling/unmarshalling text protobufs, as well as extends the tests to cover marshalling failures. The protobuf text output is not stable/deterministic and some spaces are added randomly, so some integration tests have to be adjusted to account for it.
This commit is contained in:
@@ -57,7 +57,7 @@ done
|
||||
# Test that A has outgoing domaininfo for srv-b.
|
||||
# This is unrelated to the loop itself, but serves as an end-to-end
|
||||
# verification that outgoing domaininfo works.
|
||||
if ! grep -q "outgoing_sec_level: TLS_INSECURE" ".data-A/domaininfo/s:srv-b";
|
||||
if ! grep -q 'outgoing_sec_level:\s*TLS_INSECURE' ".data-A/domaininfo/s:srv-b";
|
||||
then
|
||||
fail "A is missing the domaininfo for srv-b"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user