more stable unittest

This commit is contained in:
Costa Shulyupin 2022-11-04 15:28:16 +02:00
parent 6564e56864
commit 70069e83c3
1 changed files with 4 additions and 4 deletions

View File

@ -1401,10 +1401,10 @@ class _unittest_autotest(unittest.TestCase):
r'.*prepare_namespace.*') r'.*prepare_namespace.*')
self.assertEqual('initrd_load: prepare_namespace', self.assertEqual('initrd_load: prepare_namespace',
popen('srcxray.py referrers_dep nfs_root_data')[-1]) popen('srcxray.py referrers_dep nfs_root_data')[-1])
self.assertEqual('calibrate_delay_converge: __delay', self.assertTrue('parse_early_options: parse_args' in
popen('srcxray.py call_dep start_kernel')[-2]) popen('srcxray.py call_dep start_kernel'))
self.assertEqual('\trest_init ⋮', popen( self.assertTrue('\tsched_init ⋮' in popen(
'srcxray.py call_tree start_kernel')[-1]) 'srcxray.py call_tree start_kernel'))
os.chdir('..') os.chdir('..')
self.assertGreater(syscalls().number_of_edges(), 400) self.assertGreater(syscalls().number_of_edges(), 400)
# digraph_print: # digraph_print: