public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfstests: don't print scratch mkfs and mount options without scratch device
Date: Tue, 07 Jul 2009 08:58:29 -0500	[thread overview]
Message-ID: <4A535485.8050901@sandeen.net> (raw)
In-Reply-To: <20090620173554.GA26470@infradead.org>

Christoph Hellwig wrote:
> Also clean up the way the test configuration is printed.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Eric Sandeen <sandeen@sandeen.net>

> Index: xfstests-dev/check
> ===================================================================
> --- xfstests-dev.orig/check	2009-06-20 17:31:00.000000000 +0000
> +++ xfstests-dev/check	2009-06-20 17:33:46.000000000 +0000
> @@ -161,18 +161,15 @@
>  
>  [ -f check.time ] || touch check.time
>  
> -FULL_FSTYP_DETAILS=`_full_fstyp_details`
> -FULL_HOST_DETAILS=`_full_platform_details`
> -FULL_MKFS_OPTIONS=`_scratch_mkfs_options`
> -FULL_MOUNT_OPTIONS=`_scratch_mount_options`
> -
> -cat <<EOF
> -FSTYP         -- $FULL_FSTYP_DETAILS
> -PLATFORM      -- $FULL_HOST_DETAILS
> -MKFS_OPTIONS  -- $FULL_MKFS_OPTIONS
> -MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
> +# print out our test configuration
> +echo "FSTYP         -- `_full_fstyp_details`"
> +echo "PLATFORM      -- `_full_platform_details`"
> +if [ ! -z "$SCRATCH_DEV" ]; then
> +  echo "MKFS_OPTIONS  -- `_scratch_mkfs_options`"
> +  echo "MOUNT_OPTIONS -- `_scratch_mount_options`"
> +fi
> +echo
>  
> -EOF
>  
>  if [ ! -z "$SCRATCH_DEV" ]; then
>    umount $SCRATCH_DEV 2>/dev/null
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      parent reply	other threads:[~2009-07-07 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-20 17:35 [PATCH] xfstests: don't print scratch mkfs and mount options without scratch device Christoph Hellwig
2009-07-07 10:33 ` Christoph Hellwig
2009-07-07 13:58 ` Eric Sandeen [this message]

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=4A535485.8050901@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=hch@infradead.org \
    --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