From 88d4a22677d69eec349c8de700b10608e6585ec8 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 21 Nov 2004 11:42:22 +0000 Subject: [PATCH] force writable dirs: run by cli and webuser with conflicting umasks git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4163 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- tests/unit/runme_all | 1 + tests/unit/runme_mem | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/unit/runme_all b/tests/unit/runme_all index 104e1748b..0e200cdcb 100755 --- a/tests/unit/runme_all +++ b/tests/unit/runme_all @@ -1,6 +1,7 @@ #!/bin/sh # TODO: need to 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 diff --git a/tests/unit/runme_mem b/tests/unit/runme_mem index 937fe664e..5127592a9 100755 --- a/tests/unit/runme_mem +++ b/tests/unit/runme_mem @@ -13,6 +13,7 @@ level="level=2" tests="test=SetupWiki test=AllPagesTest test=DumpHtml" prefix=$1 if [ -z $prefix ]; then prefix="439dba"; fi +chmod -R a+rw .testbox .dumphtml today=`date` for define in USECACHE ENABLE_USER_NEW; do -- 2.45.0