summaryrefslogtreecommitdiffstats
path: root/test cases/failing/40 custom target plainname many inputs/catfiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing/40 custom target plainname many inputs/catfiles.py')
-rw-r--r--test cases/failing/40 custom target plainname many inputs/catfiles.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/failing/40 custom target plainname many inputs/catfiles.py b/test cases/failing/40 custom target plainname many inputs/catfiles.py
new file mode 100644
index 0000000..1c53e24
--- /dev/null
+++ b/test cases/failing/40 custom target plainname many inputs/catfiles.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import sys
+
+out = sys.argv[-1]
+with open(out, 'wb') as o:
+ for infile in sys.argv[1:-1]:
+ with open(infile, 'rb') as f:
+ o.write(f.read())