Re: [patch v3 6/6] test: add broken roundtrip test

Subject: Re: [patch v3 6/6] test: add broken roundtrip test

Date: Sun, 02 Dec 2012 19:19:12 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


david@tethera.net writes:
> +     # delete every second tag
> +     notmuch tag $(notmuch search --output=tags '*' | \
> +	 awk '{ if (NR % 2 == 0) printf " -'%s'", $1 }')  '*'

replaced in git with the less flaky:

     notmuch tag +this_tag_is_very_unlikely_to_be_random '*'

Since the only point is to show the restore fails, adding tags works as
well as deleting them.

d


Thread: