aboutsummaryrefslogtreecommitdiffstats
path: root/tests/00-db-migration-0-to-1-delim-mismatch/run
blob: 434c6780c0dae808386eca9fe40cfa3923245078 (plain)
1
2
3
4
5
6
7
8
# import an existing non-migrated database
sqlite3 "$XDG_DATA_HOME/interimap/remote.db" <"$TESTDIR/before.sql"
! interimap

# may happen if the server(s) software or its configuration changed
xgrep -Fx 'ERROR: Local and remote hierachy delimiters differ (local "\"", remote "^"), refusing to update `mailboxes` table.' <"$STDERR"

# vim: set filetype=sh :