fix message size in a message in gentestdata

and work around the message in test-upgrade.sh.
and add subcommand to open an account, triggering data upgrades.
This commit is contained in:
Mechiel Lukkien
2023-08-16 14:36:17 +02:00
parent ddf3cb3653
commit 1ccc5d0177
6 changed files with 64 additions and 12 deletions

View File

@ -356,7 +356,7 @@ Accounts:
MailboxDestinedID: sent.ID,
Flags: store.Flags{Seen: true, Junk: true},
Size: int64(len(prefix1) + len(msg1)),
MsgPrefix: []byte(prefix),
MsgPrefix: []byte(prefix1),
}
mf1 := tempfile()
xcheckf(err, "creating temp file for delivery")