diff options
author | Mark Wielaard <[email protected]> | 2025-03-26 23:50:57 +0100 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2025-03-26 23:54:36 +0100 |
commit | 0bebc2e63918ce46a30a159491b9993d65c3b35a (patch) | |
tree | e5ea08e367aa9e0260ae2aa41a0286e674acdd98 | |
parent | 33d4a60d13e0f82fb89cff389abf9770121d160a (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.sh | 2 |
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 |