mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
Fix import_path circular dependency by splitting it out.
Use import thread_pool instead from, from is evil. Fix poweroff.out path for ./trace-boot.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import common
|
||||
import lkmc.import_path
|
||||
|
||||
class Main(common.TestCliFunction):
|
||||
def __init__(self):
|
||||
@@ -13,7 +13,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#test-userland-in-full-
|
||||
'''
|
||||
)
|
||||
def timed_main(self):
|
||||
run = common.import_path_main('run')
|
||||
run = lkmc.import_path.import_path_main('run')
|
||||
run_args = self.get_common_args()
|
||||
run_args['eval_after'] = './test_all.sh;{};'.format(self.env['userland_quit_cmd'])
|
||||
self.run_test(run, run_args)
|
||||
|
||||
Reference in New Issue
Block a user