From 6effa0b8fc873bbefa2cdc4803c7aa9923f2531a Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Thu, 27 Mar 2025 09:00:44 +1100 Subject: [PATCH] Use bash's double brackets for consistency sake --- testing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing.sh b/testing.sh index 64b90fa..08fe8cb 100755 --- a/testing.sh +++ b/testing.sh @@ -75,7 +75,7 @@ function assertions() { } function assert_matching_file_hardlinked() { - if ! [ "$(get_inode "$1")" -eq "$(get_inode "$2")" ]; then + if [[ "$(get_inode "$1")" != "$(get_inode "$2")" ]]; then echo "File '$1' was not hardlinked to '$2' when it should have been!" exit 1 fi