aboutsummaryrefslogtreecommitdiff
path: root/evolution/tester
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-25 07:35:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-25 09:58:53 +0200
commit40ae3082645ed3790eb1d5d6f04fb2ca36c19187 (patch)
tree5157fe5db532ec91b0c06ce5f81d4e92444b7fe9 /evolution/tester
parent502926d96b0b5d79dc639b8388fbf19b11cda277 (diff)
Add support for schema version table
Diffstat (limited to 'evolution/tester')
-rwxr-xr-xevolution/tester10
1 files changed, 6 insertions, 4 deletions
diff --git a/evolution/tester b/evolution/tester
index 3f9e7e8..9bb1ec7 100755
--- a/evolution/tester
+++ b/evolution/tester
@@ -14,17 +14,19 @@ if test -f test1.sql; then
#
# Drop everything.
+ $top_builddir/db-driver test3.sql || exit 1
$top_builddir/db-driver test2.sql || exit 1
$top_builddir/db-driver test1.sql || exit 1
- # Base schema (-post is always empty).
- $top_builddir/db-driver test2-002-pre.sql || exit 1
+ # Base schema.
+ $top_builddir/db-driver test3-002-pre.sql || exit 1
+ $top_builddir/db-driver test3-002-post.sql || exit 1
./driver --options-file "$top_builddir/db.options" 1 || exit 1
# Migration.
- $top_builddir/db-driver test2-003-pre.sql || exit 1
+ $top_builddir/db-driver test3-003-pre.sql || exit 1
./driver --options-file "$top_builddir/db.options" 2 || exit 1
- $top_builddir/db-driver test2-003-post.sql || exit 1
+ $top_builddir/db-driver test3-003-post.sql || exit 1
# Current schema.
./driver --options-file "$top_builddir/db.options" 3 || exit 1