File: runme_all

package info (click to toggle)
phpwiki 1.3.14-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 15,716 kB
  • ctags: 23,548
  • sloc: php: 88,295; sql: 1,476; sh: 1,378; perl: 765; makefile: 602; 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