diff --git a/mysql/_example/test.sh b/mysql/_example/test.sh new file mode 100755 index 0000000000000000000000000000000000000000..d61a8716d082b57555a847a4074dd98b9dfa0269 --- /dev/null +++ b/mysql/_example/test.sh @@ -0,0 +1,2 @@ +cat example.sql | mysql -uupperio -pupperio upperio_tests +go run main.go diff --git a/postgresql/_example/test.sh b/postgresql/_example/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..58ce6f7e6ae680c87991dc334cc83ad7a9eb3395 --- /dev/null +++ b/postgresql/_example/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cat example.sql | PGPASSWORD=upperio psql -Uupperio upperio_tests +go run main.go diff --git a/sqlite/_example/test.sh b/sqlite/_example/test.sh new file mode 100755 index 0000000000000000000000000000000000000000..7285b8243ed281c0527363bb07df41dc89d8ef22 --- /dev/null +++ b/sqlite/_example/test.sh @@ -0,0 +1,4 @@ +#!/bin/sh +rm -f example.db +cat example.sql | sqlite3 example.db +go run main.go