tests: mocklib: forward compatibility change
authorJo-Philipp Wich <jo@mein.io>
Fri, 11 Feb 2022 16:41:00 +0000 (17:41 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 11 Feb 2022 16:41:00 +0000 (17:41 +0100)
commit93b710d49f57876f6885d8842178dbf1181b9330
tree1368c44e4204f38586c4aa319d4edcf60eecb70d
parent1a94915b5d38c9f17b27481add5a0a62341da627
tests: mocklib: forward compatibility change

Upstream ucode will change ord()'s return value type from array to integer,
add logic to handle both old and new cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tests/lib/mocklib/uci.uc