]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - tests/unit/runme_all
Fixed #3010043 by Sébastien Le Callonnec (slecallonnec)
[SourceForge/phpwiki.git] / tests / unit / runme_all
1 #!/bin/sh
2
3 # check write perms to the .testbox/* (mixed web/cli perms)
4 chmod -R a+rw .testbox .dumphtml
5 if [ -d .testbox/page_data -a ! -w .testbox/page_data/AllPages ]; then
6   rm -rf .testbox/*
7 fi
8
9 for db in file dba SQL ADODB cvs \
10     PearDB_mysql PearDB_pgsql PearDB_sqlite \
11     ADODB_mysql ADODB_postgres7 ADODB_sqlite \
12     PDO_mysql PDO_pgsql PDO_sqlite
13 do
14     php -Cq -d register_argc_argv=1 test.php debug=1 level=10 db=$db | \
15         tee all_$db.result
16 done