Legacy registration code: raise error if user/group code are the same
Currently we check VPD user/group bind values by their format, but not
checking their actual data. It was found that some devices were assigned
with same user/group values and that should be apparently wrong value,
according to their definition. To catch that failure, we want to add a
simple test to assert when user/group codes are the same.
This is only required for legacy format as we will check the type (user
or group) for new-style codes.
Tested-by: Bowgo Tsai <email@example.com>
Reviewed-by: Stephen Lin <firstname.lastname@example.org>
Reviewed-by: Hung-Te Lin <email@example.com>
Commit-Queue: Bowgo Tsai <firstname.lastname@example.org>
2 files changed