summaryrefslogtreecommitdiff
path: root/test/test-ratelim.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-11-24 14:41:33 +0800
committerfanquake <fanquake@gmail.com>2021-11-24 14:41:33 +0800
commit082941edf204a0f154f0cf33ce36ab9cf7356f2a (patch)
tree066d136a253b59f283875fab34f64ff087b5c659 /test/test-ratelim.sh
parent0c217f4fe1af6efdb99321401da6f4048398065f (diff)
downloadlibevent-082941edf204a0f154f0cf33ce36ab9cf7356f2a.tar.gz
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
Diffstat (limited to 'test/test-ratelim.sh')
-rwxr-xr-xtest/test-ratelim.sh2
1 files changed, 1 insertions, 1 deletions
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