mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
zdtm.py: Properly report FAIL if test dependency file doesn't exist
Right now report looks like generic python exception about inability to copy some file. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -110,6 +110,9 @@ class ns_flavor:
|
||||
self.root = make_tests_root()
|
||||
|
||||
def __copy_one(self, fname):
|
||||
if not os.access(fname, os.F_OK):
|
||||
raise test_fail_exc("Deps check (%s doesn't exist)" % fname)
|
||||
|
||||
tfname = self.root + fname
|
||||
if not os.access(tfname, os.F_OK):
|
||||
# Copying should be atomic as tests can be
|
||||
|
Reference in New Issue
Block a user