diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-07-14 15:02:10 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-07-17 18:50:10 +0900 |
commit | c3548a333f86d31213ca9f2ccc3faf743b246743 (patch) | |
tree | 725065874aed26581217c846e1353bea535c9d92 /test/hotplug-cameras.cpp | |
parent | 49771c6dccb28228839b5e88ada36bd6646bf933 (diff) |
tests: v4l2_compat: Fix v4l2-compliance and v4l2-ctl version parsing
v4l2-compliance originally printed the SHA before the version, leading
to the indexing that was used previously. Now that the version is
printed before the SHA, the indexing is incorrect. Fix this.
Although v4l2-ctl doesn't suffer the same issue, it is more correct to
use the zeroth index like the v4l2-compliance version check now does, so
fix that as well.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions