public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: David Sterba <dsterba@suse.cz>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xftests: renumber existing btrfs tests to start with 1
Date: Tue, 06 Aug 2013 13:47:45 -0500	[thread overview]
Message-ID: <520144D1.6010600@sandeen.net> (raw)
In-Reply-To: <1375793841-25114-1-git-send-email-dsterba@suse.cz>

On 8/6/13 7:57 AM, David Sterba wrote:
> Current numbering is inheried from the single testsuite series. There
> are only 6 btrfs-specific tests and it makes more sense to start adding
> new ones at a more natural place than 300-something. There's no overlap
> with the old and new numbers and I hope there' will be no confusion when
> referencing them.
> 
> Signed-off-by: David Sterba <dsterba@suse.cz>

Fine by me!

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  tests/btrfs/{254 => 001}         |  2 +-
>  tests/btrfs/{254.out => 001.out} |  2 +-
>  tests/btrfs/{264 => 002}         |  2 +-
>  tests/btrfs/002.out              |  2 ++
>  tests/btrfs/{265 => 003}         |  2 +-
>  tests/btrfs/003.out              |  2 ++
>  tests/btrfs/{276 => 004}         |  2 +-
>  tests/btrfs/{276.out => 004.out} |  2 +-
>  tests/btrfs/{284 => 005}         |  2 +-
>  tests/btrfs/{284.out => 005.out} |  2 +-
>  tests/btrfs/{307 => 006}         |  2 +-
>  tests/btrfs/{307.out => 006.out} | 10 +++++-----
>  tests/btrfs/264.out              |  2 --
>  tests/btrfs/265.out              |  2 --
>  tests/btrfs/group                | 12 ++++++------
>  15 files changed, 24 insertions(+), 24 deletions(-)
>  rename tests/btrfs/{254 => 001} (99%)
>  rename tests/btrfs/{254.out => 001.out} (96%)
>  rename tests/btrfs/{264 => 002} (99%)
>  create mode 100644 tests/btrfs/002.out
>  rename tests/btrfs/{265 => 003} (99%)
>  create mode 100644 tests/btrfs/003.out
>  rename tests/btrfs/{276 => 004} (99%)
>  rename tests/btrfs/{276.out => 004.out} (57%)
>  rename tests/btrfs/{284 => 005} (99%)
>  rename tests/btrfs/{284.out => 005.out} (95%)
>  rename tests/btrfs/{307 => 006} (99%)
>  rename tests/btrfs/{307.out => 006.out} (88%)
>  delete mode 100644 tests/btrfs/264.out
>  delete mode 100644 tests/btrfs/265.out
> 
> diff --git a/tests/btrfs/254 b/tests/btrfs/001
> similarity index 99%
> rename from tests/btrfs/254
> rename to tests/btrfs/001
> index 7ce09e1..9aa2431 100755
> --- a/tests/btrfs/254
> +++ b/tests/btrfs/001
> @@ -1,5 +1,5 @@
>  #! /bin/bash
> -# FS QA Test No. 254
> +# FS QA Test No. btrfs/001
>  #
>  # Test btrfs's subvolume and snapshot support
>  #
> diff --git a/tests/btrfs/254.out b/tests/btrfs/001.out
> similarity index 96%
> rename from tests/btrfs/254.out
> rename to tests/btrfs/001.out
> index d4b5346..c782bde 100644
> --- a/tests/btrfs/254.out
> +++ b/tests/btrfs/001.out
> @@ -1,4 +1,4 @@
> -QA output created by 254
> +QA output created by 001
>  Creating file foo in root dir
>  List root dir
>  foo
> diff --git a/tests/btrfs/264 b/tests/btrfs/002
> similarity index 99%
> rename from tests/btrfs/264
> rename to tests/btrfs/002
> index b08667a..03e9137 100755
> --- a/tests/btrfs/264
> +++ b/tests/btrfs/002
> @@ -1,5 +1,5 @@
>  #!/bin/bash
> -# FS QA Test No. 264
> +# FS QA Test No. btrfs/002
>  #
>  # Extented btrfs snapshot test cases
>  #
> diff --git a/tests/btrfs/002.out b/tests/btrfs/002.out
> new file mode 100644
> index 0000000..61705c7
> --- /dev/null
> +++ b/tests/btrfs/002.out
> @@ -0,0 +1,2 @@
> +QA output created by 002
> +Silence is golden
> diff --git a/tests/btrfs/265 b/tests/btrfs/003
> similarity index 99%
> rename from tests/btrfs/265
> rename to tests/btrfs/003
> index 79a9ddf..3790935 100755
> --- a/tests/btrfs/265
> +++ b/tests/btrfs/003
> @@ -1,5 +1,5 @@
>  #! /bin/bash
> -# FS QA Test No. 265
> +# FS QA Test No. btrfs/003
>  #
>  # btrfs vol tests
>  #
> diff --git a/tests/btrfs/003.out b/tests/btrfs/003.out
> new file mode 100644
> index 0000000..6895fc8
> --- /dev/null
> +++ b/tests/btrfs/003.out
> @@ -0,0 +1,2 @@
> +QA output created by 003
> +Silence is golden
> diff --git a/tests/btrfs/276 b/tests/btrfs/004
> similarity index 99%
> rename from tests/btrfs/276
> rename to tests/btrfs/004
> index 9d68b54..6e58b03 100755
> --- a/tests/btrfs/276
> +++ b/tests/btrfs/004
> @@ -1,5 +1,5 @@
>  #! /bin/bash
> -# FSQA Test No. 276
> +# FSQA Test No. btrfs/004
>  #
>  # Run fsstress to create a reasonably strange file system, make a
>  # snapshot and run more fsstress. Then select some files from that fs,
> diff --git a/tests/btrfs/276.out b/tests/btrfs/004.out
> similarity index 57%
> rename from tests/btrfs/276.out
> rename to tests/btrfs/004.out
> index 5113164..643b934 100644
> --- a/tests/btrfs/276.out
> +++ b/tests/btrfs/004.out
> @@ -1,3 +1,3 @@
> -QA output created by 276
> +QA output created by 004
>  *** test backref walking
>  *** done
> diff --git a/tests/btrfs/284 b/tests/btrfs/005
> similarity index 99%
> rename from tests/btrfs/284
> rename to tests/btrfs/005
> index 67161a3..81badf6 100755
> --- a/tests/btrfs/284
> +++ b/tests/btrfs/005
> @@ -1,5 +1,5 @@
>  #! /bin/bash
> -# FS QA Test No. 284
> +# FS QA Test No. btrfs/005
>  #
>  # Btrfs Online defragmentation tests
>  #
> diff --git a/tests/btrfs/284.out b/tests/btrfs/005.out
> similarity index 95%
> rename from tests/btrfs/284.out
> rename to tests/btrfs/005.out
> index c942271..f0574d6 100644
> --- a/tests/btrfs/284.out
> +++ b/tests/btrfs/005.out
> @@ -1,4 +1,4 @@
> -QA output created by 284
> +QA output created by 005
>  defrag object | defragment range | defragment compress
>  a single file | default | off
>  a single file | default |  on
> diff --git a/tests/btrfs/307 b/tests/btrfs/006
> similarity index 99%
> rename from tests/btrfs/307
> rename to tests/btrfs/006
> index 87314c6..9f7beff 100755
> --- a/tests/btrfs/307
> +++ b/tests/btrfs/006
> @@ -1,5 +1,5 @@
>  #! /bin/bash
> -# FS QA Test No. 307
> +# FS QA Test No. btrfs/006
>  #
>  # run basic btrfs information commands in various ways
>  # sanity tests: filesystem show, label, sync, and device stats
> diff --git a/tests/btrfs/307.out b/tests/btrfs/006.out
> similarity index 88%
> rename from tests/btrfs/307.out
> rename to tests/btrfs/006.out
> index ea9a621..ab33b7e 100644
> --- a/tests/btrfs/307.out
> +++ b/tests/btrfs/006.out
> @@ -1,15 +1,15 @@
> -== QA output created by 307
> -== Set filesystem label to TestLabel.307
> +== QA output created by 006
> +== Set filesystem label to TestLabel.006
>  == Get filesystem label
> -TestLabel.307
> +TestLabel.006
>  == Mount.
>  == Show filesystem by label
> -Label: 'TestLabel.307'  uuid: <UUID>
> +Label: 'TestLabel.006'  uuid: <UUID>
>  	Total devices <EXACTNUM> FS bytes used <SIZE>
>  	devid     <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
>  
>  == Show filesystem by UUID
> -Label: 'TestLabel.307'  uuid: <EXACTUUID>
> +Label: 'TestLabel.006'  uuid: <EXACTUUID>
>  	Total devices <EXACTNUM> FS bytes used <SIZE>
>  	devid     <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
>  
> diff --git a/tests/btrfs/264.out b/tests/btrfs/264.out
> deleted file mode 100644
> index eca790b..0000000
> --- a/tests/btrfs/264.out
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -QA output created by 264
> -Silence is golden
> diff --git a/tests/btrfs/265.out b/tests/btrfs/265.out
> deleted file mode 100644
> index 9fa4eb0..0000000
> --- a/tests/btrfs/265.out
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -QA output created by 265
> -Silence is golden
> diff --git a/tests/btrfs/group b/tests/btrfs/group
> index bc6c256..6f9325e 100644
> --- a/tests/btrfs/group
> +++ b/tests/btrfs/group
> @@ -3,9 +3,9 @@
>  # - do not start group names with a digit
>  # - comment line before each group is "new" description
>  #
> -254 auto quick
> -264 auto
> -265 auto
> -276 auto rw metadata
> -284 auto
> -307 auto quick
> +001 auto quick
> +002 auto
> +003 auto
> +004 auto rw metadata
> +005 auto
> +006 auto quick
> 

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

  reply	other threads:[~2013-08-06 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06 12:57 [PATCH] xftests: renumber existing btrfs tests to start with 1 David Sterba
2013-08-06 18:47 ` Eric Sandeen [this message]
2013-08-13 22:31 ` Rich Johnston

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=520144D1.6010600@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=dsterba@suse.cz \
    --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