summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Use sha512 to calculate the versionID for images.Saqib Khan2017-10-042-8/+15
| | | | | | | | | | | | - We needed a hash algorithm that can be replicated on multiple platforms and across multiple programming languages. - This would allow the user to calculate the versionID by executing the following command to obtain correct versionID. echo -n "<versionID>" | sha512sum | cut -b 1-8 - This is part of the change required for openbmc/openbmc#2323 Change-Id: Ibc96a2871f07cb549c482c06dec7090e6ba3a766 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Move Active BMC version object to item_updater.Saqib Khan2017-06-261-2/+4
| | | | | | | | | - There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functionality to MANAGER class. Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Move version gtests to phosphor-bmc-code-mgmtGunnar Mills2017-05-113-0/+103
Moving the version gtests from openpower-pnor-code-mgmt to phosphor-bmc-code-mgmt. This code has been reviewed before, the only changes are renaming to "namespace phosphor", changes related to renaming the files, and changes related to renaming function getVersion to getValue. Change-Id: Id799fcfff8effbb4c63f1f4e7169aa425567dd41 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
OpenPOWER on IntegriCloud