diff options
author | Eric Wong <e@80x24.org> | 2016-02-29 08:18:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-29 08:22:02 +0000 |
commit | 7ee064f52ee740eeafa49089911f6eca18c67e38 (patch) | |
tree | 6bf2588b7d3b992d38b7056d8a230367cde479eb /test/test_config.rb | |
parent | 5fff94f35928feeb9d6bf91087ee7cdbe97ecdb7 (diff) | |
download | yahns-7ee064f52ee740eeafa49089911f6eca18c67e38.tar.gz |
We should not infinite loop, oops :x Also, ensure 'yahns' is in the directory in case tests are SIGKILL-ed and directories are left over.
Diffstat (limited to 'test/test_config.rb')
-rw-r--r-- | test/test_config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_config.rb b/test/test_config.rb index 022f128..73d9456 100644 --- a/test/test_config.rb +++ b/test/test_config.rb @@ -14,7 +14,7 @@ class TestConfig < Testcase def test_multi_conf_example pid = fork do - tmpdir = Dir.mktmpdir + tmpdir = yahns_mktmpdir # modify the example config file for testing path = "examples/yahns_multi.conf.rb" @@ -38,7 +38,7 @@ class TestConfig < Testcase def test_rack_basic_conf_example pid = fork do - tmpdir = Dir.mktmpdir + tmpdir = yahns_mktmpdir # modify the example config file for testing path = "examples/yahns_rack_basic.conf.rb" |