aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db-upgrade-0-1-delim-mismatch/t
blob: d133437b888a8e95b76dd219e4318d6f17e1b536 (plain)
1
2
3
4
5
6
7
# import an existing non-migrated database
sqlite3 "$XDG_DATA_HOME/interimap/remote.db" <"$TESTDIR/before.sql" || error "Couldn't import DB"
! interimap || error

grep -Fx 'ERROR: Local and remote hierachy delimiters differ (local "\"", remote "^"), refusing to update table `mailboxes`.' <"$STDERR" || error

# vim: set filetype=sh :