From: Kees Monshouwer Date: Wed, 10 Dec 2014 15:39:53 +0000 (+0100) Subject: output varies between versions X-Git-Tag: rec-3.7.0-rc1~109^2~14^2~10^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=423f14673288e9938df097f6e9d5ff5e8d6a9c29;p=thirdparty%2Fpdns.git output varies between versions --- diff --git a/regression-tests.nobackend/gsqlite3-fk-insert/command b/regression-tests.nobackend/gsqlite3-fk-insert/command index 963cea02af..7800ebd1d6 100755 --- a/regression-tests.nobackend/gsqlite3-fk-insert/command +++ b/regression-tests.nobackend/gsqlite3-fk-insert/command @@ -1,6 +1,6 @@ #!/usr/bin/env bash -echo "PRAGMA foreign_keys = 1; INSERT INTO comments (domain_id, name, type, modified_at, account, comment) VALUES (9999, 'test', 'test', 0, 'test', 'Test 123');" | sqlite3 ../regression-tests/pdns.sqlite3 2>&1 +echo "PRAGMA foreign_keys = 1; INSERT INTO comments (domain_id, name, type, modified_at, account, comment) VALUES (9999, 'test', 'test', 0, 'test', 'Test 123');" | sqlite3 ../regression-tests/pdns.sqlite3 2>&1 | grep -o 'constraint failed' exit 0 diff --git a/regression-tests.nobackend/gsqlite3-fk-insert/expected_result.i b/regression-tests.nobackend/gsqlite3-fk-insert/expected_result.i index 57af8962f5..1754f454f0 100644 --- a/regression-tests.nobackend/gsqlite3-fk-insert/expected_result.i +++ b/regression-tests.nobackend/gsqlite3-fk-insert/expected_result.i @@ -1 +1 @@ -Error: near line 1: FOREIGN KEY constraint failed +constraint failed