mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 19:33:28 +01:00
14 lines
304 B
Python
14 lines
304 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
import sys
|
||
|
import subprocess
|
||
|
|
||
|
print 'running: ', sys.argv[1]
|
||
|
S0 = subprocess.check_output(sys.argv[1], stderr=subprocess.STDOUT)
|
||
|
print 'running: ', sys.argv[2]
|
||
|
S1 = subprocess.check_output(sys.argv[2], stderr=subprocess.STDOUT)
|
||
|
print 'comparing'
|
||
|
if S0 != S1:
|
||
|
sys.exit(1)
|
||
|
sys.exit(0)
|