Changeset: b0c4bbef70f2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b0c4bbef70f2 Modified Files: sql/test/BugTracker-2022/Tests/incomplete-sql-script.Bug-7298.SQL.py Branch: default Log Message:
add output for older bison's diffs (39 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 @@ -9,7 +9,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 in: "select foo"', '!syntax error in: "select foo"']) + tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file in: "select foo"', '!syntax error in: "select foo"', '!syntax error, unexpected $end in: "select foo"']) tf.seek(0) tf.truncate(0) @@ -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."']) + 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."']) 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-"']) + 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-"']) tf.seek(0) tf.truncate(0) @@ -45,7 +45,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 in: "select f001234"', '!syntax error in: "select f001234"']) + tc.execute(None, '-fraw', client='mclient', stdin=tf).assertFailed(err_code="42000", err_message=['!syntax error, unexpected end of file in: "select f001234"', '!syntax error in: "select f001234"', '!syntax error, unexpected $end in: "select f001234"']) 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