]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - tests/unit/runme_all
force writable dirs: run by cli and webuser with conflicting umasks
[SourceForge/phpwiki.git] / tests / unit / runme_all
1 #!/bin/sh
2 # TODO: need to check write perms to the .testbox/* (mixed web/cli perms)
3
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 for db in file dba SQL ADODB; do
9     php -Cq -d register_argc_argv=1 test.php debug=1 level=10 db=$db | tee all_$db.result
10 done