diff options
author | Sebastian Harl <sh@tokkee.org> | 2012-06-08 11:18:07 (GMT) |
---|---|---|
committer | Sebastian Harl <sh@tokkee.org> | 2012-06-08 11:18:07 (GMT) |
commit | e056cc9d8279fdb76ffd77dfeaed4fb13f95cef0 (patch) | |
tree | a43cdc493d15b768a530bfc61cc82a31ad7e183c /plugins | |
parent | 84554196509fdbb595f93c05368b36dce1cde7c1 (diff) | |
download | monitoring-plugins-e056cc9d8279fdb76ffd77dfeaed4fb13f95cef0.tar.gz |
t/check_dbi.t: Don't use 'INSERT … VALUES (a,b), (c,d)' with SQLite3.refs/pull/8/head
Older versions of SQLite3 don't seem to support that.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/t/check_dbi.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/t/check_dbi.t b/plugins/t/check_dbi.t index e542ba5..c24b5a8 100644 --- a/plugins/t/check_dbi.t +++ b/plugins/t/check_dbi.t | |||
@@ -49,7 +49,8 @@ SKIP: { | |||
49 | $filename =~ s/^\/tmp\///; | 49 | $filename =~ s/^\/tmp\///; |
50 | 50 | ||
51 | system("$sqlite3 /tmp/$filename 'CREATE TABLE test(a INT, b TEXT)'"); | 51 | system("$sqlite3 /tmp/$filename 'CREATE TABLE test(a INT, b TEXT)'"); |
52 | system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\"), (2, \"text2\")'"); | 52 | system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\")'"); |
53 | system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (2, \"text2\")'"); | ||
53 | 54 | ||
54 | my $check_cmd = "./check_dbi -d sqlite3 -o sqlite3_dbdir=/tmp -o dbname=$filename"; | 55 | my $check_cmd = "./check_dbi -d sqlite3 -o sqlite3_dbdir=/tmp -o dbname=$filename"; |
55 | 56 | ||