[CRIU] [PATCH] tests: add a runc based test

Adrian Reber areber at redhat.com
Wed Jul 11 16:00:09 MSK 2018


On Tue, Jul 10, 2018 at 11:12:12PM -0700, Andrei Vagin wrote:
[...]
> > > RunC has tests to check C/R, maybe we can reuse them instread of
> > > creating a new one?
> > 
> > I am actually just repeating what the runc test suite is doing. But all
> > their tests are bats based and we could pull it in, but for a simple
> > check if runc is working with the latest CRIU it felt enough to just use
> > a simple shell script. It would, however, not be as simple as just
> > including checkpoint.bats from runc as we would need to require some of
> > their bats infrastructure. It is doable.
> 
> Could you try to run checkpoint.bats? I think it should not be hard.
> There are good tests, which cover all supported features.
> 
> You don't need to move checkpoint.bats into our repo, you can clone the
> runc tree.

Good point, I was checking out runc before but I had trouble building
runc in our travis setup, but checking out runc and using just the criu
related tests sounds like a good idea. I will try that.

		Adrian


More information about the CRIU mailing list