aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db-upgrade-0-1-delim-mismatch/t
blob: c15927c3661a9be944a5837796b841031bf80634 (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=bash :