Changeset: 4496d4b4f0c5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/4496d4b4f0c5 Modified Files: sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py Branch: Dec2023 Log Message:
add more errors for different bison versions diffs (21 lines): diff --git a/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py b/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py --- a/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py +++ b/sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py @@ -27,7 +27,7 @@ with SQLTestCase() as tc: tf.flush() tf.seek(0) - tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file, expecting SCOLON or \':\' in: "select foo."', '!syntax error in: "select foo."', '!syntax error, unexpected $end, expecting SCOLON or \':\' in: "select foo."']) + tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file, expecting SCOLON or \':\' in: "select foo."', '!syntax error in: "select foo."', '!syntax error, unexpected $end, expecting SCOLON or \':\' in: "select foo."', '!syntax error, unexpected $end in: "select foo."']) tf.seek(0) tf.truncate(0) @@ -36,7 +36,7 @@ with SQLTestCase() as tc: tf.flush() tf.seek(0) - tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file, expecting SCOLON or \':\' in: "select foo-"', '!syntax error in: "select foo-"', '!syntax error, unexpected $end, expecting SCOLON or \':\' in: "select foo-"']) + tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file, expecting SCOLON or \':\' in: "select foo-"', '!syntax error in: "select foo-"', '!syntax error, unexpected $end, expecting SCOLON or \':\' in: "select foo-"', '!syntax error, unexpected $end in: "select foo-"']) tf.seek(0) tf.truncate(0) _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org