mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 15:24:26 +01:00
qemu: treat console kernel params within appendConsole
as it is tightly coupled with the appended console device additionally have it tested Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
This commit is contained in:
@@ -259,6 +259,8 @@ func TestQemuArchBaseAppendConsoles(t *testing.T) {
|
||||
devices, err = qemuArchBase.appendConsole(context.Background(), devices, path)
|
||||
assert.NoError(err)
|
||||
assert.Equal(expectedOut, devices)
|
||||
assert.Contains(qemuArchBase.kernelParams, Param{"console", "hvc0"})
|
||||
assert.Contains(qemuArchBase.kernelParams, Param{"console", "hvc1"})
|
||||
}
|
||||
|
||||
func TestQemuArchBaseAppendImage(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user