Edit report at http://bugs.php.net/bug.php?id=53251&edit=1
ID: 53251 Comment by: greno at verizon dot net Reported by: jeanseb at au-fil-du dot net Summary: bindtextdomain with null directory doesn't return the previously set Status: Feedback Type: Bug Package: Gettext related Operating System: Debian 5.0.6 PHP Version: 5.3.3 Block user comment: N Private report: N New Comment: Found that Expect does not need quotes around strings. Ignore previous tests. Reposted updated tests: http://greno-misc.googlecode.com/files/bindtextdomaintests-2.zip . Previous Comments: ------------------------------------------------------------------------ [2010-11-25 02:27:08] greno at verizon dot net I think these phpt tests will work. I ran them from the command line and they ran fine. Had no idea what to name them so you may have to adjust. http://greno-misc.googlecode.com/files/bindtextdomaintests.zip . ------------------------------------------------------------------------ [2010-11-25 01:34:39] paj...@php.net make test TESTS=/path/to/php/ext/gettext/tests from your build directory. or you can run run-test.php manually, see the howto links for the details or php run-tests.php --help ------------------------------------------------------------------------ [2010-11-25 01:31:51] greno at verizon dot net How do you run a phpt test from the command line? . ------------------------------------------------------------------------ [2010-11-25 01:19:33] paj...@php.net It would be very helpful if you can write it as phpt :) See http://qa.php.net/write-test.php ------------------------------------------------------------------------ [2010-11-25 01:17:32] greno at verizon dot net If it can pass the following tests on Linux then it should be Ok: http://greno-misc.googlecode.com/files/testbindtextdomain.php . ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53251 -- Edit this bug report at http://bugs.php.net/bug.php?id=53251&edit=1