[pkg-php-pear] RFS: php-http-webdav-server and php-xml-dtd

Prach Pongpanich prachpub at gmail.com
Mon Feb 10 08:43:42 UTC 2014

Hi David,

On Mon, Feb 10, 2014 at 4:16 AM, "David Prévot" <david at tilapin.org> wrote:
> Hi Prach,
>> I have update php-http-webdav-server and php-xml-dtd to fix #738373 and
>> #738416.
> Wouldn’t you take advantage of these uploads to integrate build and DEP-8
> tests for these packages?

php-xml-dtd and php-http-webdav-server::
Those files are not in the PHPT and PHPUnit format, it's possible to
run tests if upstream provide something as my attached file.

$ cat HTTP_WebDAV_Server-1.0.0RC6/tests/test.sh
(cd ..; sudo pear install -f package.xml)
rm -f *.log
mysql -u root webdav -e "TRUNCATE TABLE locks"
mysql -u root webdav -e "TRUNCATE TABLE properties"
sudo rm -rf /usr/local/apache/htdocs/mod_dav/*
sudo rm -rf /usr/local/apache/htdocs/litmus/*
litmus -k http://localhost/file.php   # add -k to continue on errors
php -q split_log.php

> FWIW, I just added such tests to php-mail and php-console-table (in case
> those examples could be relevant for your packages).

+1, it's not only for my package but our packages. ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: attributes_bad.phpt
Type: application/octet-stream
Size: 1102 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140210/d270c090/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attributes_good.phpt
Type: application/octet-stream
Size: 236 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140210/d270c090/attachment-0001.obj>

More information about the pkg-php-pear mailing list