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