From owner-freebsd-current@FreeBSD.ORG Tue Oct 11 00:38:47 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 323F316A41F for ; Tue, 11 Oct 2005 00:38:47 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C18D743D45 for ; Tue, 11 Oct 2005 00:38:46 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id j9B0ceOZ069541; Mon, 10 Oct 2005 17:38:43 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <434B098E.7070506@freebsd.org> Date: Mon, 10 Oct 2005 17:38:38 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed Maste References: <20050926195807.GD95971@sandvine.com> <17208.30606.117170.36398@khavrinen.csail.mit.edu> <20050927001650.GA9994@sandvine.com> <20050927180021.GB9994@sandvine.com> <433A2882.4030003@freebsd.org> <433A2D6E.7020205@freebsd.org> <20050928152112.GC9994@sandvine.com> <20050928214309.GA31848@xor.obsecurity.org> <20050928223927.GA11161@sandvine.com> In-Reply-To: <20050928223927.GA11161@sandvine.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Garrett Wollman , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: Bsdtar and archive torture tests X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2005 00:38:47 -0000 Ed, Have you done anything with this? I'm very interested in getting some real regression tests imported and this seems like a great place to start. Ideally, the test would be run several times: * archive with gnutar/extract with bsdtar * archive with cpio/extract with bsdtar * archive with bsdtar/extract with cpio * archive with bsdtar/extract with gnutar * etc... Unfortunately, the exact tests here will vary slightly: * gnutar can archive sparse files that bsdtar should correctly extract, but neither bsdtar nor cpio can archive sparse files * bsdtar can archive (and restore) very large directories and very deep directory trees. My testing of this has been somewhat hampered by limits in the rest of the system: /bin/sh won't cd to a dir whose path is longer than about 8k, rm/find/ls/du are all limited to 32k path lengths, etc. I suspect the ideal test arrangement would provide switches to the comparison routine to omit/ignore certain files. Then you could build a single "original", make several copies using the above combinations, then compare while overlooking any unsupported attributes. Thoughts? Tim Ed Maste wrote: > On Wed, Sep 28, 2005 at 05:43:09PM -0400, Kris Kennaway wrote: > > >>Can we import the tar stress tests as a regression test? i.e. what is >>the license on them? > > > Right now the only mention of any copyright info is > # Copyright 2003, Elizabeth D. Zwicky > in one of the files. > > The author states > The test programs were written in a spirit of experimentation, > rather than with the intention of producing software for other > people to use. I strongly encourage people who are interested > in testing backup and archive programs to produce their own > tests that cover the cases they are most interested in. However, > if you insist on using my programs, or just want to snicker at > my programming, they are available from > http://www.greatcircle.com/~zwicky > > Despite that, I think they've already demonstrated their value. > > The stress test consists of two perl programs. One creates a test tree, > and the other compares file metadata between the original tree and a > restored tree. An automated method for running the test and comparing > the results is not included (but would be easy to write, of course). > > I'll contact the author to ask about the license. > > -- > Ed Maste, Sandvine Incorporated > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >