From: Philippe Proulx Date: Fri, 10 Nov 2023 04:47:14 +0000 (-0500) Subject: tests/utils/utils.sh: use `[[ ... ]]` instead of `[` or `test` X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=fcb7edee65ce1312c54746d4816a4d0ca6bce7bf;hp=fcb7edee65ce1312c54746d4816a4d0ca6bce7bf;p=babeltrace.git tests/utils/utils.sh: use `[[ ... ]]` instead of `[` or `test` Even if `[` and `test` are Bash built-ins for POSIX shell backward compatibility, `[[` has more features, and since we're using it at least at once place, it makes sense to always use it in my opinion. Also use `==` instead of `=`, the latter only existing for POSIX shell backward compatibility, the former being like pretty much all the other programming languages we use. Signed-off-by: Philippe Proulx Change-Id: Ic3268e8d544bbbdf8f013ca3ca0659c4bc699d6d ---