OpenBSD's cpio does not accept the -t option without -i.
Apparently some systems implement cpio -t as a shortcut
for cpio -it, the latter is the only thing that's documented.
This change avoids test failures on OpenBSD.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Not relative to this patch, just a hint:
I think you want to add the reviewers to the patches you posting. Otherwise your patches are still visible on llvm-mails,
but reviewers do not get a direct mail and can probably just lose it.
For LLD Rui and Rafael are usually good candidates to add.
Fair enough. @kettenis out of curiosity, you know why OpenBSD doesn't implement this shortcut?
My guess is that it is an (undocumented) GNU extension. FreeBSD's libarchive-based cpio obviously attempts to implement the GNU extensions.
OpenBSD used a different cpio implementation inherited from NetBSD, and we generally avoid implementing GNU extensions to encourage our
users to write portable code/scripts. FWIW, the Solaris cpio doesn't accept -t without -i either.
Committed thusly, thanks for your contribution.
Commit this patch to SVN? ([y]es (default)|[n]o|[q]uit|[a]ll): y
M test/ELF/reproduce-backslash.s M test/ELF/reproduce-windows.s M test/ELF/reproduce.s
Committed r290252