Fix string-compare

This commit is contained in:
Matthias Beyer 2016-09-05 17:01:00 +02:00
parent 73d05d80ae
commit 47c5b7edf3

View file

@ -36,8 +36,8 @@ test_link_modificates() {
imag-link internal add --from "test" --to "test2"
if [[ "$(default_entry)" -eq "$(cat_entry 'test')" ]] ||
[[ "$(default_entry)" -eq "$(cat_entry 'test2')" ]]
if [ "$(default_entry)" == "$(cat_entry 'test')" ] ||
[ "$(default_entry)" == "$(cat_entry 'test2')" ]
then
err "Entry was unmodified after linking"
return 1;