summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-23 14:15:32 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-23 14:15:32 +0100
commitccc81eec81f962ba453383556ce1d5a1c2f490f9 (patch)
tree0b12cfbf3f4234b87fe0d2f6184dc1010df7a00f
parentf1f9c1a65f34c2798b4c8ac63c7a2ec689cdd25a (diff)
downloadcmdtest-ccc81eec81f962ba453383556ce1d5a1c2f490f9.tar.gz
Do not use cp --reflink, busybox doesn't have it
-rwxr-xr-xyarn4
1 files changed, 1 insertions, 3 deletions
diff --git a/yarn b/yarn
index 6845345..9847a68 100755
--- a/yarn
+++ b/yarn
@@ -317,10 +317,8 @@ class YarnRunner(cliapp.Application):
return os.path.join(sd, base)
def snapshot_datadir(self, tempdir, datadir, scenario, step_number, step):
- # Use --reflink in case of CoW support, e.g., btrfs.
snapshot = self.snapshot_dir(tempdir, scenario, step, step_number)
- cliapp.runcmd(
- ['cp', '-a', '--reflink=auto', datadir, snapshot])
+ cliapp.runcmd(['cp', '-a', datadir, snapshot])
def nice(self, name):
# Quote a scenario or step name so it forms a nice filename.