summaryrefslogtreecommitdiffstats
path: root/test cases/common/71 ctarget dependency/gen1.py
blob: dbadb6d923382771bed3867d8f1751c36c3af23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3

import time, sys

# Make sure other script runs first if dependency
# is missing.
time.sleep(0.5)

with open(sys.argv[1]) as f:
    contents = f.read()
with open(sys.argv[2], 'w') as f:
    f.write(contents)