Skip to content

Commit

Permalink
Update tests to align with PR
Browse files Browse the repository at this point in the history
  • Loading branch information
rustydb committed Jan 25, 2024
1 parent d15fe73 commit c2d01f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/functional/bios_get_attributes_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 '<nil>'
The lines of stdout should equal 3
The lines of stdout should equal 4
End

# TODO: restore when args work with piping
Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit c2d01f6

Please sign in to comment.