[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] selftests/livepatch: introduce tests

> > > I love this. Nice work!

Yes, it looks really good.

> > > As you and Petr discussed, it would be nice to get rid of some of the
> > > delays, and also the callback tests will be very important.
> >
> > I've got v2 WIP that minimizes the delays, cleans up build flags, and
> > adds a basic shadow variable test.
> Sounds great.
> > Since these tests are based on top of Petr's current patchsets for
> > atomic replace and shadow variables, it probably makes sense for those
> > to merge first. I can post test results to his patchsets if that helps.
> Sounds good to me. We could synchronize the merge. But I think that it
> will not be a big deal if we would merge the atomic replace slightly
> earlier if the tests needed some more love.

Well, it depends. Josh wants the patch first and then atomic replace. So
we can merge selftests for all features we currently have and tests for
atomic replace could go with it.

> > These tests are basically a mash up of some of the tedious callback
> > Documentation and shadow variable sample livepatches. Since there will
> > be a lot of duplication, should we just remove redundant doc/samples in
> > favor of these tests?
> Yup, it does not make sense to maintain two copies of basically
> the same modules.

Yes, but I'd leave a basic sample module there (that is, the first sample
we had should stay).

Libor and Nicolai from SUSE CCed. We have some internal tests as well and
it would be great to join forces.


 \ /
  Last update: 2018-04-10 16:32    [W:0.074 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site