diff --git a/tests/test_qltool.py b/tests/test_qltool.py index c3475737..0af22b64 100644 --- a/tests/test_qltool.py +++ b/tests/test_qltool.py @@ -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() \ No newline at end of file + unittest.main()