3 # TODO this must have bitrotted to oblivion...
7 if test -z "$MH_OBJ_DIR"; then
8 srcdir
=`dirname "$0"`/..
/..
9 MH_OBJ_DIR
=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
12 .
"$MH_OBJ_DIR/test/common.sh"
14 setup_test_without_data Mail
17 #### Save exit status to use as status for this program.
21 "$MH_OBJ_DIR/target/debug/mhimap" imap shutdown
23 # TODO have cleanup allow additional cleanup registration?
24 # Or just allow it to accept status as argument.
30 # * LIST (\All \HasNoChildren) "/" "[Gmail]/All Mail"
32 oauth-gmail-credential-file: $MH_IMAP_TEST_OAUTH_FILE
33 imap-host: imap.gmail.com
35 imap-user: $MH_IMAP_TEST_USER
38 imap-saslmech: xoauth2
39 imap-authservice: gmail
40 imap-mailbox-root: [Gmail]
41 imap-mailbox-exclude: .
42 imap-mailbox-include: All Mail
43 Unseen-Sequence: unseen
45 imap-manager: $MH_OBJ_DIR/target/debug/imap-folder-manager
46 imap-socket: $MH_TEST_DIR/Mail/imap.d/socket
47 imap-db: $MH_TEST_DIR/Mail/imap.d
49 if [ -n "$MH_TEST_IMAP_LOG_LEVEL" ]; then
50 echo "imap-log-level: $MH_TEST_IMAP_LOG_LEVEL" >> "$MH"
51 echo "imap-log-$MH_TEST_IMAP_LOG_LEVEL-to: $MH_TEST_DIR/$profile/imap.d/log.$MH_TEST_IMAP_LOG_LEVEL" >> "$MH"
54 covdir
="$MH_OBJ_DIR/covdata/${MH_COVERAGE_PROFILE:-default}/$testname"
56 export LLVM_PROFILE_FILE
="$covdir/$profile-%m.profraw"
58 start_test
'inc All Mail'