X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT580-thread-search.sh;h=512559a3aff90086809247e2cb3e8ef0a6451e32;hp=6f7106db475a60cb472f073cd7b391ef56b44434;hb=b8f12bd3717aa446ef04197734af7a055e6909fe;hpb=d98c0854b8ed93d0f84962a6d1d5d6c1ebf95a14 diff --git a/test/T580-thread-search.sh b/test/T580-thread-search.sh index 6f7106db..512559a3 100755 --- a/test/T580-thread-search.sh +++ b/test/T580-thread-search.sh @@ -15,7 +15,7 @@ count=0 success=0 for id in $(notmuch search --output=messages '*'); do count=$((count +1)) - matches=$(notmuch search --output=threads "$id" | wc -l) + matches=$((`notmuch search --output=threads "$id" | wc -l`)) if [ "$matches" = 1 ]; then success=$((success + 1)) fi