diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 17:49:24 -0700 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 17:54:55 -0700 |
commit | 754442b00829ebdebd5c9a657221c4637768e7fc (patch) | |
tree | 417f383608125c2b4ba85fcef9d57eb71ccd70d6 | |
parent | Add test db to our cleanup target (diff) | |
download | jitterbug-754442b00829ebdebd5c9a657221c4637768e7fc.tar.gz |
Do not use a global temp directory in our tests
Diffstat (limited to '')
-rw-r--r-- | t/005_builder.t | 4 | ||||
-rw-r--r-- | t/data/test.yml | 4 | ||||
-rw-r--r-- | t/tmp/build/.exists | 0 | ||||
-rw-r--r-- | t/tmp/reports/.exists | 0 |
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 |