cvs commit: src/usr.bin/cpio/test Makefile main.c test_passthrough_reverse.c

Tim Kientzle kientzle at
Sun Aug 24 04:58:31 UTC 2008

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 
  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)

More information about the cvs-all mailing list