From 88dd3ec322aae5776a11e5112837f199ac83a374 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 6 Feb 2017 15:43:35 +0100 Subject: Some shells (like dash when invoked as /bin/sh) don't like '==' to test. --- test/scripts/testutils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 } -- cgit v1.1