summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-06-10 08:16:07 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-06-10 08:16:07 -0700
commit6119ddc735ccfa6816b78bb7028c56dabf322019 (patch)
treeb9cccdf2fb28e67b5cf37b26d0e0635a8cf7ad2a /modules/gallery_unit_test
parentd5b80f29444e03aadc1130ab1624a09c0689fb93 (diff)
parent26d0af45eabe962c5366cb1e95de7e252b831796 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery_unit_test')
-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);