diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2018-11-30 18:52:12 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-01 21:00:11 +0900 |
commit | cc4cb0902c2e4f9bc003b52f33da8fcb6020f649 (patch) | |
tree | 8f29b67edde9fa673415872a8d359a93c5b95161 /t/t6036-recursive-corner-cases.sh | |
parent | merge-recursive: combine error handling (diff) | |
download | tgif-cc4cb0902c2e4f9bc003b52f33da8fcb6020f649.tar.xz |
t6036: avoid non-portable "cp -a"
b8cd1bb713 ("t6036, t6043: increase code coverage for file collision
handling", 2018-11-07) uses this GNU extension that is not available
in a POSIX complaint cp. In this particular case, there is no need to
use the option, as it is just copying a single file to create another
file.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6036-recursive-corner-cases.sh')
-rwxr-xr-x | t/t6036-recursive-corner-cases.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6036-recursive-corner-cases.sh b/t/t6036-recursive-corner-cases.sh index b7488b00c0..d23b948f27 100755 --- a/t/t6036-recursive-corner-cases.sh +++ b/t/t6036-recursive-corner-cases.sh @@ -1631,7 +1631,7 @@ test_expect_success 'check nested conflicts' ' # Compare m to expected contents >empty && - cp -a m_stage_2 expected_final_m && + cp m_stage_2 expected_final_m && test_must_fail git merge-file --diff3 \ -L "HEAD" \ -L "merged common ancestors" \ |