Commit c0164713 authored by qinsoon's avatar qinsoon

[wip] test sha1

parent 081adbdd
......@@ -1085,7 +1085,6 @@ def test_rpython_main():
assert res.returncode == 0, res.err
def test_rpytarget_sha1sum():
john1 = \
......@@ -1101,7 +1100,7 @@ The light shines in the darkness, and the darkness has not overcome it.
from rpython.translator.goal.targetsha1sum import entry_point
res = run_boot_image(entry_point, '/tmp/test_sha1sum_mu')
res = run_boot_image(entry_point, '/tmp/test_sha1sum_mu', args=['/tmp/john1.txt'])
assert res.returncode == 0, res.err
assert res.out == '53b45a7e3fb6ccb2d9e43c45cb57b6b56c784def /tmp/john1.txt\n'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment