]> git.notmuchmail.org Git - notmuch/blob - T01-dump-restore.sh
2a53e3b82f3bf4c113e570b9314e8a5c60055c80
[notmuch] / T01-dump-restore.sh
1 #!/usr/bin/env bash
2
3 test_description='dump and restore'
4
5 . $(dirname "$0")/perf-test-lib.sh || exit 1
6
7 time_start
8
9 time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'
10 time_run 'dump *' 'notmuch dump > tags.out'
11 time_run 'restore *' 'notmuch restore < tags.out'
12
13 time_done