From 082941edf204a0f154f0cf33ce36ab9cf7356f2a Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 24 Nov 2021 14:41:33 +0800 Subject: build: remove inconsistently used x-prefix comparisons Given that these are already used inconsistently with `test` checks, it makes sense to consolidate to not use the x-prefix comparisons at all. In any case, it would be nice to think we no longer have to work around a problem that existed in shells many, many years ago. More info: https://github.com/koalaman/shellcheck/wiki/SC2268 https://www.vidarholen.net/contents/blog/?p=1035 --- test/test-ratelim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test-ratelim.sh') diff --git a/test/test-ratelim.sh b/test/test-ratelim.sh index b5e0ca62..21f33d3e 100755 --- a/test/test-ratelim.sh +++ b/test/test-ratelim.sh @@ -2,7 +2,7 @@ FAILED=no -if test "x$TEST_OUTPUT_FILE" = "x" +if test "$TEST_OUTPUT_FILE" = "" then TEST_OUTPUT_FILE=/dev/null fi -- cgit v1.2.1