compat: use cp -R in `test-bundle-phase-internal.t` (issue6835) stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 19 Jul 2023 17:42:33 +0200
branchstable
changeset 50804 ac8b7bd915a0
parent 50772 1680ef94ad2b
child 50805 23b0999f6201
compat: use cp -R in `test-bundle-phase-internal.t` (issue6835) This follow POSIX and make things compatible with NetBSD.
tests/test-bundle-phase-internal.t
--- 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.