Don't use pointer after free()
This commit is contained in:
parent
7fcad3dba2
commit
fd75ebc9a2
2 changed files with 7 additions and 2 deletions
|
@ -36,6 +36,10 @@ class TestLXCCreated < Test::Unit::TestCase
|
|||
assert_match(/^00:16:3e:/, @container.config_item('lxc.network.0.hwaddr'))
|
||||
end
|
||||
|
||||
def test_container_mount_points
|
||||
assert_instance_of(Array, @container.config_item('lxc.mount.entry'))
|
||||
end
|
||||
|
||||
def test_container_rename
|
||||
new_name = "renamed_#{@name}"
|
||||
renamed = @container.rename(new_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue