Files
linux-kernel-module-cheat/test-userland-full-system
Ciro Santilli 六四事件 法轮功 3d83206461 baremetal: ah, actually nope, it didn't work :-(
Workaround for now. Works on asserts, but not on exit 1.

Some other day, maybe.

https://github.com/cirosantilli/linux-kernel-module-cheat/issues/59
2019-05-07 00:00:00 +00:00

23 lines
561 B
Python
Executable File

#!/usr/bin/env python3
import os
import sys
import common
class Main(common.TestCliFunction):
def __init__(self):
super().__init__(
description='''\
https://github.com/cirosantilli/linux-kernel-module-cheat#test-userland-in-full-system
'''
)
def timed_main(self):
run = self.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)
if __name__ == '__main__':
Main().cli()