summaryrefslogtreecommitdiffstats
path: root/test cases/common/71 ctarget dependency/gen2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/71 ctarget dependency/gen2.py')
-rwxr-xr-xtest cases/common/71 ctarget dependency/gen2.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/71 ctarget dependency/gen2.py b/test cases/common/71 ctarget dependency/gen2.py
new file mode 100755
index 0000000..6fde556
--- /dev/null
+++ b/test cases/common/71 ctarget dependency/gen2.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+
+import sys, os
+from glob import glob
+
+files = glob(os.path.join(sys.argv[1], '*.tmp'))
+assert len(files) == 1
+
+with open(files[0]) as ifile, open(sys.argv[2], 'w') as ofile:
+ ofile.write(ifile.read())