From 4a45d282d9b76d5858fe8df3dcd02b227e1e3f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 9 Oct 2024 20:59:35 +0200 Subject: Handle unknown record item types Changelog: Handle unknown record item types --- test/network.test | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/network.test') diff --git a/test/network.test b/test/network.test index 6f16f7d..40190f4 100644 --- a/test/network.test +++ b/test/network.test @@ -409,6 +409,12 @@ test SendUnknownObjectType: "" expect /store-done ($refpat)/ capture r1 + send: + "store rec" + "test:unknown TEST" + "" + expect /store-done ($refpat)/ capture r2 + send "test-message-send 1 $r1" expect /test-message-send done/ @@ -421,3 +427,16 @@ test SendUnknownObjectType: local: expect /load-(.*)/ capture done guard (done == "done") + + send "test-message-send 1 $r2" + expect /test-message-send done/ + + with p2: + expect /test-message-received rec [0-9]+ $r2/ + + send "load $r2" + expect /load-type rec [0-9]+/ + expect /load-line test:unknown TEST/ + local: + expect /load-(.*)/ capture done + guard (done == "done") -- cgit v1.2.3