summaryrefslogtreecommitdiffstats
path: root/imag-link
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-09-05 17:01:00 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-09-06 15:30:26 +0200
commit47c5b7edf32c63f1893ee63262f71c28adedd68e (patch)
treed39f6b767ca5af534f93babf185101dce682ad63 /imag-link
parent73d05d80ae2c22a82439fc0cc4dc1fbfdc2bb1fa (diff)
Fix string-compare
Diffstat (limited to 'imag-link')
-rw-r--r--imag-link/tests/link-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/imag-link/tests/link-test.sh b/imag-link/tests/link-test.sh
index 3722565d..de7ff1e6 100644
--- a/imag-link/tests/link-test.sh
+++ b/imag-link/tests/link-test.sh
@@ -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;