Bug #60981 [NEW]: Shell environment inaccessible in tests

From: Date: Sun, 05 Feb 2012 18:50:42 +0000
Subject: Bug #60981 [NEW]: Shell environment inaccessible in tests
Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-167192@lists.php.net to get a copy of this message
From:             
Operating system: Ubuntu 11.10
PHP version:      5.3.10
Package:          Testing related
Bug Type:         Bug
Bug description:Shell environment inaccessible in tests

Description:
------------
Shell environment variables are not accessible via getenv() during tests.

Test script:
---------------
export MYSQL_TEST_PASSWD=...

make test TESTS=ext/mysql*/tests/001.phpt

Runs the mysql + mysqli connect tests and both are skipped.

Tests are skipped showing... (using password: NO)

Manually setting $passwd in connect.inc for both test sets runs all tests
as expected.

So MYSQL_TEST_PASSWD is ignored.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60981&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=60981&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=60981&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=60981&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=60981&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60981&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=60981&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=60981&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=60981&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=60981&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=60981&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=60981&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=60981&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=60981&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=60981&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=60981&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60981&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=60981&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=60981&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=60981&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=60981&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=60981&r=mysqlcfg



Thread (16 messages)

« previous php.bugs (#167192) next »