mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
remove more reactos
This commit is contained in:
@@ -9,13 +9,6 @@ from qiling import *
|
||||
from qiling.exception import *
|
||||
|
||||
class QltoolTest(unittest.TestCase):
|
||||
def testexec(self):
|
||||
create = [sys.executable, '../qltool', 'run', '-f', '../examples/rootfs/x86_reactos/bin/x86_hello.exe', '--rootfs', '../examples/rootfs/x86_reactos']
|
||||
try:
|
||||
subprocess.check_output(create,stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))
|
||||
|
||||
def testexec_args(self):
|
||||
create = [sys.executable, '../qltool', 'run', '-f', '../examples/rootfs/x8664_linux/bin/x8664_args', '--rootfs', '../examples/rootfs/x8664_linux', '--args', 'test1', 'test2' ,'test3']
|
||||
try:
|
||||
@@ -31,4 +24,4 @@ class QltoolTest(unittest.TestCase):
|
||||
raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user