From a9452edac79197c923ac2d6f82c08e6111aed2eb Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Fri, 5 Apr 2002 06:30:18 +0000 Subject: [PATCH] Add notice message test # Need to figure out why estrduped string is not null terminated --- ext/pgsql/tests/09notice.phpt | 11 +++++++++++ ext/pgsql/tests/notice.inc | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 ext/pgsql/tests/09notice.phpt create mode 100644 ext/pgsql/tests/notice.inc diff --git a/ext/pgsql/tests/09notice.phpt b/ext/pgsql/tests/09notice.phpt new file mode 100644 index 0000000000..f2a6678e28 --- /dev/null +++ b/ext/pgsql/tests/09notice.phpt @@ -0,0 +1,11 @@ +--TEST-- +PostgreSQL notice function +--SKIPIF-- + +--FILE-- + +--EXPECT-- +NOTICE: BEGIN: already a transaction in progress +pg_last_notice() is Ok diff --git a/ext/pgsql/tests/notice.inc b/ext/pgsql/tests/notice.inc new file mode 100644 index 0000000000..7764d458ea --- /dev/null +++ b/ext/pgsql/tests/notice.inc @@ -0,0 +1,12 @@ + -- 2.50.1