]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Test for a bug reported by Bernd Walter: In passthrough mode,
authorTim Kientzle <kientzle@FreeBSD.org>
Sun, 24 Aug 2008 04:58:22 +0000 (04:58 +0000)
committerTim Kientzle <kientzle@FreeBSD.org>
Sun, 24 Aug 2008 04:58:22 +0000 (04:58 +0000)
commitc9c5c49045ab5ea791924cbcad6db84c8abbc1e7
tree69af9cb7f1d0b336ed16c57e23bf0cf7c3898868
parent2be5c100cfc5ff3a9b2821d9ae4705f5c6f7e39e
Test for a bug reported by Bernd Walter:  In passthrough mode,
copying "dir/file" and then copying "dir" results in
"File on disk is not older; skipping" for the "dir" because
it was implicitly created by "dir/file."  Among other sins,
this means that "dir" ends up with the wrong permissions
and ownership.

This is actually a libarchive bug; fix is forthcoming.
usr.bin/cpio/test/Makefile
usr.bin/cpio/test/main.c
usr.bin/cpio/test/test_passthrough_reverse.c [new file with mode: 0644]