about summary refs log tree commit diff
path: root/t
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 17:49:24 -0700
committerJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 17:54:55 -0700
commit754442b00829ebdebd5c9a657221c4637768e7fc (patch)
tree417f383608125c2b4ba85fcef9d57eb71ccd70d6 /t
parentAdd test db to our cleanup target (diff)
downloadjitterbug-754442b00829ebdebd5c9a657221c4637768e7fc.tar.gz
Do not use a global temp directory in our tests
Diffstat (limited to 't')
-rw-r--r--t/005_builder.t4
-rw-r--r--t/data/test.yml4
-rw-r--r--t/tmp/build/.exists0
-rw-r--r--t/tmp/reports/.exists0
4 files changed, 4 insertions, 4 deletions
diff --git a/t/005_builder.t b/t/005_builder.t
index cc0bb0a..603001a 100644
--- a/t/005_builder.t
+++ b/t/005_builder.t
@@ -77,10 +77,10 @@ jitterbug::Test->init();
                                               },
                              'builder' => {},
                              'reports' => {
-                                          'dir' => '/tmp/jitterbug'
+                                          'dir' => './t/tmp/reports'
                                         },
                              'build' => {
-                                        'dir' => '/tmp/build'
+                                        'dir' => './t/tmp/build',
                                       },
                              'options' => {
                                         'email_on_pass' => '0',
diff --git a/t/data/test.yml b/t/data/test.yml
index d8d21c0..98f8e65 100644
--- a/t/data/test.yml
+++ b/t/data/test.yml
@@ -12,9 +12,9 @@ engines:
 
 jitterbug:
   reports:
-    dir: /tmp/jitterbug
+    dir: ./t/tmp/reports
   build:
-    dir: /tmp/build
+    dir: ./t/tmp/build
   build_process:
     builder: ./scripts/capsule.sh
     builder_variables: STUFF=BLAH
diff --git a/t/tmp/build/.exists b/t/tmp/build/.exists
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/tmp/build/.exists
diff --git a/t/tmp/reports/.exists b/t/tmp/reports/.exists
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/tmp/reports/.exists