From owner-cvs-src@FreeBSD.ORG Sun Aug 24 04:58:31 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9233A1065688; Sun, 24 Aug 2008 04:58:31 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BCF4B8FC0C; Sun, 24 Aug 2008 04:58:29 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7O4wTx9030727; Sun, 24 Aug 2008 04:58:29 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7O4wTxA030726; Sun, 24 Aug 2008 04:58:29 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200808240458.m7O4wTxA030726@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Sun, 24 Aug 2008 04:58:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/cpio/test Makefile main.c test_passthrough_reverse.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 04:58:31 -0000 kientzle 2008-08-24 04:58:22 UTC FreeBSD src repository Modified files: usr.bin/cpio/test Makefile main.c Added files: usr.bin/cpio/test test_passthrough_reverse.c Log: SVN rev 182092 on 2008-08-24 04:58:22Z by kientzle 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. Revision Changes Path 1.2 +2 -1 src/usr.bin/cpio/test/Makefile 1.3 +2 -2 src/usr.bin/cpio/test/main.c 1.1 +103 -0 src/usr.bin/cpio/test/test_passthrough_reverse.c (new)