summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio/test
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-11-29 20:22:02 +0000
committerkientzle <kientzle@FreeBSD.org>2008-11-29 20:22:02 +0000
commitbb05e1a003ef80629f9ca38084317dc934119ef3 (patch)
tree960fdddda5b7fc3b22f4cde27aff5e282ba07b52 /usr.bin/cpio/test
parent090a6bb003eec2932361f639e134808c8e998efa (diff)
downloadFreeBSD-src-bb05e1a003ef80629f9ca38084317dc934119ef3.zip
FreeBSD-src-bb05e1a003ef80629f9ca38084317dc934119ef3.tar.gz
Format the output of -itv for real. In particular:
* Lookup uname/gname if not provided by the archive (I copied the uname/gname lookup cache from bsdtar) * Format device number instead of size for device nodes * Format date. There's still a few improvements that I could copy from bsdtar, especially the locale-aware safe_fprintf() code and the locale-aware setup for day_first date formatting. (And, of course, I need to think through a clean way to push this stuff down into libarchive.) Thanks to Peter Wemm for reminding me of this overlooked TODO item.
Diffstat (limited to 'usr.bin/cpio/test')
-rw-r--r--usr.bin/cpio/test/test_option_tv.stdout.uu3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cpio/test/test_option_tv.stdout.uu b/usr.bin/cpio/test/test_option_tv.stdout.uu
index baead3e..7f1879c 100644
--- a/usr.bin/cpio/test/test_option_tv.stdout.uu
+++ b/usr.bin/cpio/test/test_option_tv.stdout.uu
@@ -1,5 +1,6 @@
$FreeBSD$
begin 644 test_option_tv.stdout
-G+7)W+7(M+7(M+2`@(#$@("`H;G5L;"D@("AN=6QL*2`P(&9I;&4*
+M+7)W+7(M+7(M+2`@(#$@=&EM("`@("`@=&EM("`@("`@("`@("`@(#`@1&5C
+/(#,Q("`Q.38Y(&9I;&4*
`
end
OpenPOWER on IntegriCloud