changeset 50804:ac8b7bd915a0 stable

compat: use cp -R in `test-bundle-phase-internal.t` (issue6835) This follow POSIX and make things compatible with NetBSD.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 19 Jul 2023 17:42:33 +0200
parents 1680ef94ad2b
children 23b0999f6201
files tests/test-bundle-phase-internal.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle-phase-internal.t	Wed Jul 12 12:47:08 2023 +0200
+++ b/tests/test-bundle-phase-internal.t	Wed Jul 19 17:42:33 2023 +0200
@@ -99,7 +99,7 @@
 strip an ancestors of the internal changeset
 --------------------------------------------
 
-  $ cp -ar reference-repo strip-ancestor
+  $ cp -aR reference-repo strip-ancestor
   $ cd strip-ancestor
 
 The internal change is stripped, yet it should be skipped from the backup bundle.
@@ -154,7 +154,7 @@
 strip an unrelated changeset with a lower revnum
 ------------------------------------------------
 
-  $ cp -ar reference-repo strip-unrelated
+  $ cp -aR reference-repo strip-unrelated
   $ cd strip-unrelated
 
 The internal change is not directly stripped, but it is affected by the strip
@@ -200,7 +200,7 @@
 explicitly strip the internal changeset
 ---------------------------------------
 
-  $ cp -ar reference-repo strip-explicit
+  $ cp -aR reference-repo strip-explicit
   $ cd strip-explicit
 
 The internal change is directly selected for stripping.