summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/controllers/gallery_unit_test.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@227.1.241.10.in-addr.arpa>2010-06-14 14:43:14 -0400
committerChad Kieffer <ckieffer@227.1.241.10.in-addr.arpa>2010-06-14 14:43:14 -0400
commit3c6e710aa75b309fd7ff50aa8f5c58721b17770f (patch)
tree062b516f3fad5921e4ace326fa6b2f7f868ca87e /modules/gallery_unit_test/controllers/gallery_unit_test.php
parent782c1e0ae0bc597629abcd88f844d863da45901a (diff)
parent793780daa7665f7f86994235c4263fcb63554eb8 (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery_unit_test/controllers/gallery_unit_test.php')
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php
index 80ee16d9..e241e1dd 100644
--- a/modules/gallery_unit_test/controllers/gallery_unit_test.php
+++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php
@@ -89,7 +89,9 @@ class Gallery_Unit_Test_Controller extends Controller {
}
}
- // Clean out the filesystem
+ // Clean out the filesystem. Note that this cleans out test/var/database.php, but that's ok
+ // because we technically don't need it anymore. If this is confusing, we could always
+ // arrange to preserve that one file.
@system("rm -rf test/var");
@mkdir('test/var/logs', 0777, true);