## page was renamed from Kernel/Reference/fwts/uefirtvariable == Firmware Test Suite - uefirtvariable test == The uefirtvariable test checks the UEFI runtime service !GetVariable, !GetNextVariableName, !SetVariable and !QueryVariableInfo interfaces. === GetVariable tests === * tests the UEFI runtime service !GetVariable interface by checking data, datasize and different attributes of variable * stress test for UEFI runtime service interface !GetVariable === SetVariable tests === * test !SetVariable on two different GUIDs and the same variable name * test !SetVariable on the same and different variable data * test !SetVariable on similar variable name * test !SetVariable on !DataSize is 0 * test !SetVariable on Attributes is 0 * test !SetVariable on Invalid Attributes * stress tests for UEFI runtime interface !SetVariable * test !SetVariable on setting the variable with the same data * test !SetVariable on setting the variable with different data * test !SetVariable on setting the variable with different name * test !SetVariable on setting the variable with different name and data === GetNextVariableName tests === * the runtime service !GetNextVariableName interface function test * check the !GetNextVariableName returned value of !VariableNameSize is equal to the length of !VariableName * test !GetNextVariableName interface returns unique variables * the !GetNextVariableName interface conformance tests === QueryVariableInfo tests === * test the UEFI runtime service !QueryVariableInfo interface * stress test for UEFI runtime service interface !QueryVariableInfo === Examples: === {{{sudo fwts uefirtvariable -}}} ..runs uefirtvariable on your machine and dumps the output to stdout.