aboutsummaryrefslogtreecommitdiff
path: root/tests/config.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-19 15:35:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-19 15:35:18 +0300
commit302739e70cdf9495e738a95ee65f4f46ea6ec438 (patch)
treed29a9a5423bbc4a3fbf71f877b8346d33b772eb7 /tests/config.test
parent1fae30f8e1af4b4b5d15e8bbd692968837d3e7fd (diff)
Make use of cp builtin -p option
Diffstat (limited to 'tests/config.test')
-rw-r--r--tests/config.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config.test b/tests/config.test
index c40d24b..0050fb3 100644
--- a/tests/config.test
+++ b/tests/config.test
@@ -15,12 +15,12 @@
# The most commonly used configuration cloning command that copies it from the
# parent scope working directory.
#
-clone_cfg = cp -r ../cfg ./
+clone_cfg = cp -p -r ../cfg ./
# Clones the original (presumably empty) configuration from the root scope
# working directory.
#
-clone_root_cfg = cp -r $~/cfg ./
+clone_root_cfg = cp -p -r $~/cfg ./
# Setup a test command to use a cloned configuration directory by default.
#