From: Dave Chinner <david@fromorbit.com>
To: Eric Sandeen <esandeen@redhat.com>
Cc: Koen De Wit <koen.de.wit@oracle.com>,
Eric Sandeen <sandeen@redhat.com>,
"xfs@oss.sgi.com" <xfs@oss.sgi.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
Date: Wed, 3 Jul 2013 16:37:24 +1000 [thread overview]
Message-ID: <20130703063724.GK14996@dastard> (raw)
In-Reply-To: <6B93E4A6-D1C9-4170-8E1C-B94D24F601BB@redhat.com>
On Tue, Jul 02, 2013 at 11:51:21AM -0400, Eric Sandeen wrote:
> On Jul 2, 2013, at 10:28 AM, Koen De Wit <koen.de.wit@oracle.com>
> wrote:
>
> > Dave,
> >
> > Thanks for the review. I will clean up the commit message and do
> > a full mail-to-myself-and-test-patch round trip to avoid errors
> > like the wrong test numbers in the golden output. I'm sorry for
> > this.
> >
> > About cutting out file names from the output. I did this in the
> > first version of the patch:
> >
> > md5sum $TESTDIR1/$F | $AWK_PROG 'END {print $1}'
> >
> > but Eric Sandeen suggested to include them in order to provide
> > more context in the output. (See
> > http://oss.sgi.com/archives/xfs/2013-03/msg00231.html and
> > http://oss.sgi.com/archives/xfs/2013-03/msg00220.html) That
> > sounds like a good idea to me, it makes debugging failures
> > easier. Whose opinion should I follow?
> >
> Heh sorry. IMHO maybe a middle ground; not bare md5sum but show
> only the base name? In the end up to you; it seems Dave and I
> have different opinions on this. :)
I was just going by current xfstests convention. i.e, in common/rc:
# Prints the md5 checksum of a given file
_md5_checksum()
{
md5sum $1 | cut -d ' ' -f1
}
Which is used by all the hole punch tests and generic/311.
Make of that what you will, but I'd prefer to see consistency of
implementation across tests... ;)
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2013-07-03 6:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 9:27 [PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy Koen De Wit
2013-07-02 10:15 ` Dave Chinner
2013-07-02 14:27 ` Koen De Wit
2013-07-02 15:51 ` Eric Sandeen
2013-07-03 6:37 ` Dave Chinner [this message]
2013-07-03 10:02 ` Koen De Wit
2013-07-03 10:17 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130703063724.GK14996@dastard \
--to=david@fromorbit.com \
--cc=esandeen@redhat.com \
--cc=koen.de.wit@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).