tests: add lint for non portable cp -a
commit82cbc8cde25859027aa013568a7040b5a63707d2
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Sat, 1 Dec 2018 17:36:45 +0000 (1 09:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Dec 2018 00:26:02 +0000 (3 09:26 +0900)
tree26b57125793d56548bfaf656ac49542314a5a550
parent8a0ba68f6dab2c8b1f297a0d46b710bb9af3237a
tests: add lint for non portable cp -a

cp -a, while a common flag isn't in POSIX and will therefore fail
on systems that don't have GNUish tools (like OpenBSD, AIX or Solaris)

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/check-non-portable-shell.pl