mirror of
https://github.com/php/pecl-database-ibm_db2.git
synced 2026-03-23 23:02:16 +01:00
This test expects the wrong output
Need to expect key[123] messages. Also, for future reference: switch_user and password must be set in the connection include, and be different from your regular user. In cases where you use the implicit same user, this test didn't know what to do, so I made it just skip that case.
This commit is contained in:
@@ -31,7 +31,11 @@ $key3 = xmlservice_diag_jobinfo($xml);
|
||||
echo "key3 $key3\n";
|
||||
db2_close($conn2);
|
||||
|
||||
if (strpos($key1,$user) === false) {
|
||||
/*
|
||||
* On PASE, we can use an empty user for implict same user, which
|
||||
* messes up this test, so just skip it
|
||||
*/
|
||||
if ($user !== "" && strpos($key1,$user) === false) {
|
||||
echo "failed key1 ($key1) missing ".$user."\n";
|
||||
} else {
|
||||
echo "success\n";
|
||||
@@ -49,7 +53,9 @@ if (strpos($key3,$switch_user) === false) {
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
%s
|
||||
key1 %s
|
||||
key2 %s
|
||||
key3 %s
|
||||
success
|
||||
success
|
||||
success
|
||||
|
||||
Reference in New Issue
Block a user