ksensor tests are a bit environment dependent
There are two issues with the ksensor tests currently:
1. There is a missing package dependency between the os-tests and the ksensor package. Without this the tests themselves will not work. However, it's easy to miss this if you're doing development on this because you'll always have it installed.
2. The test runner, somewhat surprisingly has separate users that you need to indicate for the pre/post scripts and does not fallback on user. This meant that the calls to add_drv/rem_drv were failing because they were being run as an unprivileged user or were dependent on how they were invoked.
Both of these fixes are simple and should make this part of the test suite more reliable.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit b018085dfc5b5d4dc24cf2784f322e76bc3e91c0 Author: Robert Mustacchi <email@example.com> Date: 2020-08-07T23:16:22.000Z 13014 ksensor tests are a bit environment dependent Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>