2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 21:07:43 +00:00

zdtm.py: Fix argumeps to uns flavor init

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2015-10-28 17:05:05 +03:00
parent fffbe3740b
commit 077b9c959c

View File

@ -138,10 +138,10 @@ class userns_flavor(ns_flavor):
self.name = "userns"
self.uns = True
def init(self, test_bin):
def init(self, test_bin, deps):
# To be able to create roots_yard in CRIU
os.chmod(".", os.stat(".").st_mode | 0077)
ns_flavor.init(self, test_bin)
ns_flavor.init(self, test_bin, deps)
flavors = { 'h': host_flavor, 'ns': ns_flavor, 'uns': userns_flavor }