You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_sqlite/sqlite_1-create_db_table.sh

10 lines
277 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - check that sqlite can create database and tables."
sqlite3 /tmp/tf_test.db 'drop table if exists tf_table;'
sqlite3 /tmp/tf_test.db 'create table tf_table(text, id INTEGER);'
t_CheckExitStatus $?