diff --git a/spec/functional/bios_get_attributes_spec.sh b/spec/functional/bios_get_attributes_spec.sh index 1fe9896..8be36d0 100644 --- a/spec/functional/bios_get_attributes_spec.sh +++ b/spec/functional/bios_get_attributes_spec.sh @@ -30,7 +30,7 @@ It "--config ${GRU_CONF} --attributes BootTimeout 127.0.0.1:5000" When call ./gru bios get --config "${GRU_CONF}" --attributes BootTimeout 127.0.0.1:5000 The status should equal 0 The stdout should include 'BootTimeout' - The lines of stdout should equal 3 + The lines of stdout should equal 4 End # getting a single key should return only those key in json @@ -47,7 +47,7 @@ It "--config ${GRU_CONF} --attributes ProcessorHyperThreadingDisable,SRIOVEnable The status should equal 0 The stdout should include 'ProcessorHyperThreadingDisable' The stdout should include 'SRIOVEnable' - The lines of stdout should equal 4 + The lines of stdout should equal 5 End # getting specific keys should return only those keys and should be json @@ -65,7 +65,7 @@ It "--config ${GRU_CONF} --attributes junk 127.0.0.1:5000" The status should equal 0 The line 3 of stdout should include 'junk' The line 3 of stdout should include '' - The lines of stdout should equal 3 + The lines of stdout should equal 4 End # TODO: restore when args work with piping @@ -85,7 +85,7 @@ It "--config ${GRU_CONF} --virtualization 127.0.0.1:5001" The stdout should include 'Local APIC Mode' The stdout should include 'IOMMU' The stdout should include 'SVM Mode' - The lines of stdout should equal 7 + The lines of stdout should equal 8 End # --virtualization shortcut should return only virtualization attributes in json format (Gigabyte) @@ -109,7 +109,7 @@ It "--config ${GRU_CONF} 127.0.0.1:5001" The stdout should include 'Disable Block Sid' The stdout should include 'Rome0179' The stdout should include 'Determinism Slider' - The lines of stdout should equal 552 + The lines of stdout should equal 553 End # Gigabyte should not return friendly names on json output