summaryrefslogtreecommitdiffstatshomepage
path: root/src/regtests/chdman/chdtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/regtests/chdman/chdtest.py')
-rw-r--r--src/regtests/chdman/chdtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regtests/chdman/chdtest.py b/src/regtests/chdman/chdtest.py
index aca814593ae..5bd641da501 100644
--- a/src/regtests/chdman/chdtest.py
+++ b/src/regtests/chdman/chdtest.py
@@ -72,6 +72,9 @@ for root, dirs, files in os.walk(inputPath):
f.close()
params = paramsstr.split(" ")
cmd = [chdmanBin, "createhd", "-f", "-o", tempFile] + params
+ elif d.startswith("copy"):
+ inFile += ".chd"
+ cmd = [chdmanBin, "copy", "-f", "-i", inFile, "-o", tempFile]
else:
print "unsupported mode"
continue