Skip to content

Commit

Permalink
Merge branch 'km/avoid-cp-a' into maint
Browse files Browse the repository at this point in the history
Some tests used shell constructs that did not work well on FreeBSD

* km/avoid-cp-a:
  test: fix t7001 cp to use POSIX options
  • Loading branch information
Junio C Hamano committed May 8, 2014
2 parents 0bc85ab + 00764ca commit 73edc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t7001-mv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and no .gitm
(
cd sub &&
rm -f .git &&
cp -a ../.git/modules/sub .git &&
cp -R -P -p ../.git/modules/sub .git &&
GIT_WORK_TREE=. git config --unset core.worktree
) &&
mkdir mod &&
Expand All @@ -331,7 +331,7 @@ test_expect_success 'git mv moves a submodule with a .git directory and .gitmodu
(
cd sub &&
rm -f .git &&
cp -a ../.git/modules/sub .git &&
cp -R -P -p ../.git/modules/sub .git &&
GIT_WORK_TREE=. git config --unset core.worktree
) &&
mkdir mod &&
Expand Down

0 comments on commit 73edc54

Please sign in to comment.