From 7a86602ff86819bf68a37b1c03e994412e73fda5 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 17 Feb 2024 22:29:46 +0100 Subject: [PATCH] Fix edit-fifo-noscroll test on BSD This has been failing on FreeBSD sourcehut CI, for example https://builds.sr.ht/~mawww/job/1151241 --- test/commands/edit-fifo-noscroll/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/commands/edit-fifo-noscroll/script b/test/commands/edit-fifo-noscroll/script index 10fe9340b..f64e1a778 100644 --- a/test/commands/edit-fifo-noscroll/script +++ b/test/commands/edit-fifo-noscroll/script @@ -12,7 +12,7 @@ ui_out -ignore 2 dd if=/dev/zero bs=2049 count=1 2>/dev/null | sed s/././g >&5 ui_out -ignore 3 -ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "gjxH|wc -c" ] }' +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "gjxH|wc -c | tr -d \" \"" ] }' ui_out -ignore 6 exec 5>&-