diff options
author | Kyle J. McKay <mackyle@gmail.com> | 2014-04-11 01:24:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-11 13:19:00 -0700 |
commit | 00764ca10e0b55b21853fe3f41d688254cfaec08 (patch) | |
tree | 65599053c9b6e8564c0cf1db46eb540707dde836 /test-ctype.c | |
parent | Git 1.8.5.5 (diff) | |
download | tgif-00764ca10e0b55b21853fe3f41d688254cfaec08.tar.xz |
test: fix t7001 cp to use POSIX options
Since 11502468 and 04c1ee57 (both first appearing in v1.8.5), the
t7001-mv test has used "cp -a" to perform a copy in several of the
tests.
However, the "-a" option is not required for a POSIX cp utility and
some platforms' cp utilities do not support it.
The POSIX equivalent of -a is -R -P -p.
Change "cp -a" to "cp -R -P -p" so that the t7001-mv test works
on systems with a cp utility that only implements the POSIX
required set of options and not the "-a" option.
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-ctype.c')
0 files changed, 0 insertions, 0 deletions