From f371741f6b31b55fd8eefd4dbe7cbb323d34fec6 Mon Sep 17 00:00:00 2001 From: Sangbida Chaudhuri Date: Wed, 5 Aug 2026 12:23:31 +0930 Subject: [PATCH] tests: drop obsolete x-prefix in compacter-slow.sh Shellcheck 0.11 (SC2268) rejects the old x"$1" comparison idiom. Prevents: "tests/plugins/compacter-slow.sh:5:6: note: Avoid x-prefix in comparisons as it no longer serves a purpose. [SC2268]" --- tests/plugins/compacter-slow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugins/compacter-slow.sh b/tests/plugins/compacter-slow.sh index 0812c62e79b2..dd52fd8cbedf 100755 --- a/tests/plugins/compacter-slow.sh +++ b/tests/plugins/compacter-slow.sh @@ -2,7 +2,7 @@ # This pretends to be lightning_gossip_compactd, but waits until the file "compactd-continue" # exists. This lets us test race conditions. -if [ x"$1" != x"--version" ]; then +if [ "$1" != "--version" ]; then while [ ! -f "compactd-continue" ]; do sleep 1 done