summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-02-06 15:43:35 +0100
committerLinus Nordberg <linus@nordu.net>2017-02-06 15:59:59 +0100
commit88dd3ec322aae5776a11e5112837f199ac83a374 (patch)
treeb8fb16127935d41d24a203aa8c705de3a46f51cb /test
parent8c1e3ac28cbb902b540f776886a6556c40d3f601 (diff)
Some shells (like dash when invoked as /bin/sh) don't like '==' to test.
Diffstat (limited to 'test')
-rw-r--r--test/scripts/testutils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scripts/testutils.sh b/test/scripts/testutils.sh
index d3a9672..657607b 100644
--- a/test/scripts/testutils.sh
+++ b/test/scripts/testutils.sh
@@ -43,7 +43,7 @@ do_merge() {
${top_srcdir}/tools/mergestatus.py --config machine/merge/catlfish-test.cfg --localconfig machine/merge/catlfish-test-local-merge.cfg
n=$((n-1))
treesize=$(get_treesize)
- [ "${treesize}" == "${expected_treesize}" ] && return
+ [ "${treesize}" = "${expected_treesize}" ] && return
sleep 1
done
}