t/check_dbi.t: Don't use 'INSERT … VALUES (a,b), (c,d)' with SQLite3.

Older versions of SQLite3 don't seem to support that.
This commit is contained in:
Sebastian Harl 2012-06-08 13:18:07 +02:00
parent 8455419650
commit e056cc9d82

View file

@ -49,7 +49,8 @@ SKIP: {
$filename =~ s/^\/tmp\///;
system("$sqlite3 /tmp/$filename 'CREATE TABLE test(a INT, b TEXT)'");
system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\"), (2, \"text2\")'");
system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\")'");
system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (2, \"text2\")'");
my $check_cmd = "./check_dbi -d sqlite3 -o sqlite3_dbdir=/tmp -o dbname=$filename";