summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2025-03-26 23:50:57 +0100
committerMark Wielaard <[email protected]>2025-03-26 23:54:36 +0100
commit0bebc2e63918ce46a30a159491b9993d65c3b35a (patch)
treee5ea08e367aa9e0260ae2aa41a0286e674acdd98
parent33d4a60d13e0f82fb89cff389abf9770121d160a (diff)
tests/thread-safety-subr.sh: Change if [[ ]] to if [ ]
Using [[ is a bashism. We can just use [ since this is a simple comparision. * tests/thread-safety-subr.sh: Use if [ instead of if [[. Signed-off-by: Mark Wielaard <[email protected]>
-rw-r--r--tests/thread-safety-subr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thread-safety-subr.sh b/tests/thread-safety-subr.sh
index 1024df02..90d9d984 100644
--- a/tests/thread-safety-subr.sh
+++ b/tests/thread-safety-subr.sh
@@ -26,7 +26,7 @@ check_thread_safety_enabled()
${abs_builddir}/../config.h | awk '{print $3}')
# Test will only be run if USE_LOCKS is defined. Otherwise, skip.
- if [[ "$USE_LOCKS" != 1 ]]; then
+ if [ "$USE_LOCKS" != 1 ]; then
echo "USE_LOCKS is not defined. Skipping test."
exit 77
fi