File: runme_all

package info (click to toggle)
phpwiki 1.3.12p3-5etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 16,956 kB
  • ctags: 21,608
  • sloc: php: 82,335; xml: 3,840; sh: 1,522; sql: 1,198; perl: 625; makefile: 562; awk: 28
file content (16 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# check write perms to the .testbox/* (mixed web/cli perms)
chmod -R a+rw .testbox .dumphtml
if [ -d .testbox/page_data -a ! -w .testbox/page_data/AllPages ]; then
  rm -rf .testbox/*
fi

for db in file dba SQL ADODB cvs \
    PearDB_mysql PearDB_pgsql PearDB_sqlite \
    ADODB_mysql ADODB_postgres7 ADODB_sqlite
    PDO_mysql PDO_pgsql PDO_sqlite
do
    php -Cq -d register_argc_argv=1 test.php debug=1 level=10 db=$db | \
	tee all_$db.result
done