From 9be7a8ae73b05b4d0bac5477d5642c18a0f7ba44 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 11 Oct 2019 21:33:01 +0100 Subject: [PATCH] test: use chiark-tcl-hbytes rather than ad-hoc \x quoting Signed-off-by: Ian Jackson --- test/invoke | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/invoke b/test/invoke index fb9ce2c..30106d9 100755 --- a/test/invoke +++ b/test/invoke @@ -2,6 +2,8 @@ package require Tclx +load chiark_tcl_hbytes-1.so + set netlink(inside) { local-address "172.18.232.9"; secnet-address "172.18.232.10"; @@ -103,7 +105,7 @@ proc spawn-secnet {which} { if {!$pid} { execl ./secnet $argl } - puts -nonewline $netlinkfh($which.t) "\xc0" + puts -nonewline $netlinkfh($which.t) [hbytes h2raw c0] } proc netlink-readable {which} { -- 2.30.2