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