chore: fix function names in comment
Signed-off-by: racequite <quiterace@gmail.com>
This commit is contained in:
parent
82d8f8d6e6
commit
24d20b27a2
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ func TestIpcModeNone(t *testing.T) {
|
|||
testIpcNonePrivateShareable(t, "none", false, false)
|
||||
}
|
||||
|
||||
// TestAPIIpcModePrivate checks the container private IPC mode
|
||||
// TestIpcModePrivate checks the container private IPC mode
|
||||
// (--ipc private) works as expected. It gets the minor:major pair
|
||||
// of /dev/shm mount from the container, and makes sure there is no
|
||||
// such pair on the host.
|
||||
|
@ -109,7 +109,7 @@ func TestIpcModePrivate(t *testing.T) {
|
|||
testIpcNonePrivateShareable(t, "private", true, false)
|
||||
}
|
||||
|
||||
// TestAPIIpcModeShareable checks the container shareable IPC mode
|
||||
// TestIpcModeShareable checks the container shareable IPC mode
|
||||
// (--ipc shareable) works as expected. It gets the minor:major pair
|
||||
// of /dev/shm mount from the container, and makes sure such pair
|
||||
// also exists on the host.
|
||||
|
@ -173,7 +173,7 @@ func testIpcContainer(t *testing.T, donorMode string, mustWork bool) {
|
|||
assert.Check(t, is.Equal(true, regexp.MustCompile("^covfefe$").MatchString(out)))
|
||||
}
|
||||
|
||||
// TestAPIIpcModeShareableAndPrivate checks that
|
||||
// TestAPIIpcModeShareableAndContainer checks that
|
||||
// 1) a container created with --ipc container:ID can use IPC of another shareable container.
|
||||
// 2) a container created with --ipc container:ID can NOT use IPC of another private container.
|
||||
func TestAPIIpcModeShareableAndContainer(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue