Remove LXC.default_config_path, add LXC.global_config_item
Follows lxc@593e84786e2b4709059989bee489deab5c923779
This commit is contained in:
parent
67dd08eeeb
commit
0c3abf0de2
2 changed files with 15 additions and 8 deletions
|
@ -10,7 +10,8 @@ class TestLXCUndefined < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_container_config_file_name
|
||||
config_path = File.join(LXC.default_config_path, @name, 'config')
|
||||
lxc_path = LXC.global_config_item('lxc.lxcpath')
|
||||
config_path = File.join(lxc_path, @name, 'config')
|
||||
assert_equal(config_path, @container.config_file_name)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue