test: move backup_database and restore_database to library
authorDavid Bremner <david@tethera.net>
Sun, 7 Jun 2015 15:01:59 +0000 (17:01 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 4 Sep 2015 11:22:42 +0000 (08:22 -0300)
commit9ee29ad6f0805dc55e63f8a04a68a1f55d0c382b
tree7185b65f84ca51b4cb37e6c768372f63781d097b
parent110694b00b79793b3c09a0349c0ff7608df551d6
test: move backup_database and restore_database to library

The plan is to re-use them in testing the same errors from the CLI
test/T560-lib-error.sh
test/test-lib-common.sh