mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +00:00
zdtm.py: Fix argumeps to uns flavor init
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
fffbe3740b
commit
077b9c959c
@ -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 }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user