diff options
Diffstat (limited to 'ext/pgsql/tests')
-rw-r--r-- | ext/pgsql/tests/17result.phpt | 2 | ||||
-rw-r--r-- | ext/pgsql/tests/22pg_fetch_object.phpt | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | ext/pgsql/tests/29nb_async_connect.phpt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ext/pgsql/tests/30nb_async_query_params.phpt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ext/pgsql/tests/31nb_async_query_prepared.phpt | 0 | ||||
-rw-r--r-- | ext/pgsql/tests/CONFLICTS | 1 | ||||
-rw-r--r-- | ext/pgsql/tests/skipif.inc | 2 |
7 files changed, 4 insertions, 3 deletions
diff --git a/ext/pgsql/tests/17result.phpt b/ext/pgsql/tests/17result.phpt index c3f9959aa2..4e321ca3f8 100644 --- a/ext/pgsql/tests/17result.phpt +++ b/ext/pgsql/tests/17result.phpt @@ -11,7 +11,7 @@ include 'config.inc'; $db = pg_connect($conn_str); $sql = "SELECT * FROM $table_name"; -$result = pg_query($db, $sql) or die('Cannot qeury db'); +$result = pg_query($db, $sql) or die('Cannot query db'); $rows = pg_num_rows($result); var_dump(pg_result_seek($result, 1)); diff --git a/ext/pgsql/tests/22pg_fetch_object.phpt b/ext/pgsql/tests/22pg_fetch_object.phpt index 76a3fbeed3..ebdf77568e 100644 --- a/ext/pgsql/tests/22pg_fetch_object.phpt +++ b/ext/pgsql/tests/22pg_fetch_object.phpt @@ -17,7 +17,7 @@ class test_class { $db = pg_connect($conn_str); $sql = "SELECT * FROM $table_name WHERE num = 0"; -$result = pg_query($db, $sql) or die('Cannot qeury db'); +$result = pg_query($db, $sql) or die('Cannot query db'); $rows = pg_num_rows($result); var_dump(pg_fetch_object($result, NULL, 'test_class', array(1, 2))); diff --git a/ext/pgsql/tests/29nb_async_connect.phpt b/ext/pgsql/tests/29nb_async_connect.phpt index fc3868a26d..fc3868a26d 100755..100644 --- a/ext/pgsql/tests/29nb_async_connect.phpt +++ b/ext/pgsql/tests/29nb_async_connect.phpt diff --git a/ext/pgsql/tests/30nb_async_query_params.phpt b/ext/pgsql/tests/30nb_async_query_params.phpt index 1c8a1eed8f..1c8a1eed8f 100755..100644 --- a/ext/pgsql/tests/30nb_async_query_params.phpt +++ b/ext/pgsql/tests/30nb_async_query_params.phpt diff --git a/ext/pgsql/tests/31nb_async_query_prepared.phpt b/ext/pgsql/tests/31nb_async_query_prepared.phpt index f485e596f9..f485e596f9 100755..100644 --- a/ext/pgsql/tests/31nb_async_query_prepared.phpt +++ b/ext/pgsql/tests/31nb_async_query_prepared.phpt diff --git a/ext/pgsql/tests/CONFLICTS b/ext/pgsql/tests/CONFLICTS new file mode 100644 index 0000000000..7ecf66a952 --- /dev/null +++ b/ext/pgsql/tests/CONFLICTS @@ -0,0 +1 @@ +pgsql diff --git a/ext/pgsql/tests/skipif.inc b/ext/pgsql/tests/skipif.inc index 83904af4f3..e24847445c 100644 --- a/ext/pgsql/tests/skipif.inc +++ b/ext/pgsql/tests/skipif.inc @@ -10,7 +10,7 @@ include("config.inc"); include("lcmess.inc"); if (!extension_loaded("pgsql")) { - die("skip\n"); + die("skip pgsql extension not loaded\n"); } $conn = @pg_connect($conn_str); if (!is_resource($conn)) { |