* [PATCH 0/2] fstests: add some missing groups to some btrfs tests
@ 2023-12-04 15:45 fdmanana
2023-12-04 15:45 ` [PATCH 1/2] btrfs: add some tests to the 'compress' group fdmanana
2023-12-04 15:45 ` [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send' fdmanana
0 siblings, 2 replies; 5+ messages in thread
From: fdmanana @ 2023-12-04 15:45 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
Some btrfs tests exercise some features but are not listed in the
corresponding groups, so add them to those groups.
Filipe Manana (2):
btrfs: add some tests to the 'compress' group
btrfs/048: add missing groups 'subvol', 'snapshot' and 'send'
tests/btrfs/004 | 2 +-
tests/btrfs/005 | 2 +-
tests/btrfs/048 | 2 +-
tests/btrfs/052 | 2 +-
tests/btrfs/056 | 2 +-
tests/btrfs/059 | 2 +-
tests/btrfs/094 | 2 +-
tests/btrfs/112 | 2 +-
tests/btrfs/150 | 2 +-
tests/btrfs/167 | 2 +-
tests/btrfs/173 | 2 +-
tests/btrfs/174 | 2 +-
tests/btrfs/259 | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] btrfs: add some tests to the 'compress' group
2023-12-04 15:45 [PATCH 0/2] fstests: add some missing groups to some btrfs tests fdmanana
@ 2023-12-04 15:45 ` fdmanana
2023-12-04 18:02 ` Zorro Lang
2023-12-04 15:45 ` [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send' fdmanana
1 sibling, 1 reply; 5+ messages in thread
From: fdmanana @ 2023-12-04 15:45 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
There are several btrfs test that exercise compression in one way or
another but are not listed as part of the 'compress' group, so add them
to that group.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
---
tests/btrfs/004 | 2 +-
tests/btrfs/005 | 2 +-
tests/btrfs/048 | 2 +-
tests/btrfs/052 | 2 +-
tests/btrfs/056 | 2 +-
tests/btrfs/059 | 2 +-
tests/btrfs/094 | 2 +-
tests/btrfs/112 | 2 +-
tests/btrfs/150 | 2 +-
tests/btrfs/167 | 2 +-
tests/btrfs/173 | 2 +-
tests/btrfs/174 | 2 +-
tests/btrfs/259 | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tests/btrfs/004 b/tests/btrfs/004
index 78df6a3a..381ad072 100755
--- a/tests/btrfs/004
+++ b/tests/btrfs/004
@@ -10,7 +10,7 @@
# We check to end up back at the original file with the correct offset.
#
. ./common/preamble
-_begin_fstest auto rw metadata fiemap logical_resolve
+_begin_fstest auto rw metadata fiemap logical_resolve compress
noise_pid=0
diff --git a/tests/btrfs/005 b/tests/btrfs/005
index 878a8c7c..84634770 100755
--- a/tests/btrfs/005
+++ b/tests/btrfs/005
@@ -7,7 +7,7 @@
# Btrfs Online defragmentation tests
#
. ./common/preamble
-_begin_fstest auto defrag
+_begin_fstest auto defrag compress
cnt=119
filesize=48000
diff --git a/tests/btrfs/048 b/tests/btrfs/048
index 93d4a171..7816a997 100755
--- a/tests/btrfs/048
+++ b/tests/btrfs/048
@@ -11,7 +11,7 @@
# btrfs: fix zstd compression parameter
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick compress
# Override the default cleanup function.
_cleanup()
diff --git a/tests/btrfs/052 b/tests/btrfs/052
index 4408de21..0d60d413 100755
--- a/tests/btrfs/052
+++ b/tests/btrfs/052
@@ -9,7 +9,7 @@
# file.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone compress
# Override the default cleanup function.
_cleanup()
diff --git a/tests/btrfs/056 b/tests/btrfs/056
index e5ac516d..e1263983 100755
--- a/tests/btrfs/056
+++ b/tests/btrfs/056
@@ -15,7 +15,7 @@
# Btrfs: make fsync work after cloning into a file
#
. ./common/preamble
-_begin_fstest auto quick clone log
+_begin_fstest auto quick clone log compress
# Override the default cleanup function.
_cleanup()
diff --git a/tests/btrfs/059 b/tests/btrfs/059
index d2ced0ae..76a1e76e 100755
--- a/tests/btrfs/059
+++ b/tests/btrfs/059
@@ -11,7 +11,7 @@
# Btrfs: add missing compression property remove in btrfs_ioctl_setflags
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick compress
# Override the default cleanup function.
_cleanup()
diff --git a/tests/btrfs/094 b/tests/btrfs/094
index e94cf17b..75804465 100755
--- a/tests/btrfs/094
+++ b/tests/btrfs/094
@@ -18,7 +18,7 @@
# Btrfs: incremental send, fix clone operations for compressed extents
#
. ./common/preamble
-_begin_fstest auto quick send
+_begin_fstest auto quick send compress
# Override the default cleanup function.
_cleanup()
diff --git a/tests/btrfs/112 b/tests/btrfs/112
index c3f7fe5c..fd7aaad4 100755
--- a/tests/btrfs/112
+++ b/tests/btrfs/112
@@ -8,7 +8,7 @@
# corruption or data loss.
#
. ./common/preamble
-_begin_fstest auto quick clone prealloc
+_begin_fstest auto quick clone prealloc compress
# Import common functions.
. ./common/filter
diff --git a/tests/btrfs/150 b/tests/btrfs/150
index a7d7d9cc..c21e0a66 100755
--- a/tests/btrfs/150
+++ b/tests/btrfs/150
@@ -11,7 +11,7 @@
# Btrfs: fix kernel oops while reading compressed data
#
. ./common/preamble
-_begin_fstest auto quick dangerous read_repair
+_begin_fstest auto quick dangerous read_repair compress
# Import common functions.
. ./common/filter
diff --git a/tests/btrfs/167 b/tests/btrfs/167
index fb271cfa..2cfcf100 100755
--- a/tests/btrfs/167
+++ b/tests/btrfs/167
@@ -11,7 +11,7 @@
# ac0b4145d662 ("btrfs: scrub: Don't use inode pages for device replace")
#
. ./common/preamble
-_begin_fstest auto quick replace volume
+_begin_fstest auto quick replace volume compress
# Import common functions.
. ./common/filter
diff --git a/tests/btrfs/173 b/tests/btrfs/173
index 4972a5a7..6e78a826 100755
--- a/tests/btrfs/173
+++ b/tests/btrfs/173
@@ -8,7 +8,7 @@
# CoW file nor compressed file.
#
. ./common/preamble
-_begin_fstest auto quick swap
+_begin_fstest auto quick swap compress
. ./common/filter
diff --git a/tests/btrfs/174 b/tests/btrfs/174
index 0acd65f0..16305c18 100755
--- a/tests/btrfs/174
+++ b/tests/btrfs/174
@@ -8,7 +8,7 @@
# specific to Btrfs.
#
. ./common/preamble
-_begin_fstest auto quick swap
+_begin_fstest auto quick swap compress
. ./common/filter
diff --git a/tests/btrfs/259 b/tests/btrfs/259
index 358a4550..7f053ac9 100755
--- a/tests/btrfs/259
+++ b/tests/btrfs/259
@@ -8,7 +8,7 @@
# at their max capacity.
#
. ./common/preamble
-_begin_fstest auto quick defrag fiemap
+_begin_fstest auto quick defrag fiemap compress
# Import common functions.
. ./common/filter
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send'
2023-12-04 15:45 [PATCH 0/2] fstests: add some missing groups to some btrfs tests fdmanana
2023-12-04 15:45 ` [PATCH 1/2] btrfs: add some tests to the 'compress' group fdmanana
@ 2023-12-04 15:45 ` fdmanana
2023-12-04 18:03 ` Zorro Lang
1 sibling, 1 reply; 5+ messages in thread
From: fdmanana @ 2023-12-04 15:45 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
This test case exercises subvolumes, snapshot and send/receive, so add
the corresponding groups to the test.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
---
tests/btrfs/048 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/btrfs/048 b/tests/btrfs/048
index 7816a997..8a88b8cc 100755
--- a/tests/btrfs/048
+++ b/tests/btrfs/048
@@ -11,7 +11,7 @@
# btrfs: fix zstd compression parameter
#
. ./common/preamble
-_begin_fstest auto quick compress
+_begin_fstest auto quick compress subvol snapshot send
# Override the default cleanup function.
_cleanup()
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] btrfs: add some tests to the 'compress' group
2023-12-04 15:45 ` [PATCH 1/2] btrfs: add some tests to the 'compress' group fdmanana
@ 2023-12-04 18:02 ` Zorro Lang
0 siblings, 0 replies; 5+ messages in thread
From: Zorro Lang @ 2023-12-04 18:02 UTC (permalink / raw)
To: fdmanana; +Cc: fstests, linux-btrfs, Filipe Manana
On Mon, Dec 04, 2023 at 03:45:10PM +0000, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
>
> There are several btrfs test that exercise compression in one way or
> another but are not listed as part of the 'compress' group, so add them
> to that group.
>
> Signed-off-by: Filipe Manana <fdmanana@suse.com>
> ---
Test groups update is warm welcome :) This patch makes sense to me.
Reviewed-by: Zorro Lang <zlang@redhat.com>
> tests/btrfs/004 | 2 +-
> tests/btrfs/005 | 2 +-
> tests/btrfs/048 | 2 +-
> tests/btrfs/052 | 2 +-
> tests/btrfs/056 | 2 +-
> tests/btrfs/059 | 2 +-
> tests/btrfs/094 | 2 +-
> tests/btrfs/112 | 2 +-
> tests/btrfs/150 | 2 +-
> tests/btrfs/167 | 2 +-
> tests/btrfs/173 | 2 +-
> tests/btrfs/174 | 2 +-
> tests/btrfs/259 | 2 +-
> 13 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/tests/btrfs/004 b/tests/btrfs/004
> index 78df6a3a..381ad072 100755
> --- a/tests/btrfs/004
> +++ b/tests/btrfs/004
> @@ -10,7 +10,7 @@
> # We check to end up back at the original file with the correct offset.
> #
> . ./common/preamble
> -_begin_fstest auto rw metadata fiemap logical_resolve
> +_begin_fstest auto rw metadata fiemap logical_resolve compress
>
> noise_pid=0
>
> diff --git a/tests/btrfs/005 b/tests/btrfs/005
> index 878a8c7c..84634770 100755
> --- a/tests/btrfs/005
> +++ b/tests/btrfs/005
> @@ -7,7 +7,7 @@
> # Btrfs Online defragmentation tests
> #
> . ./common/preamble
> -_begin_fstest auto defrag
> +_begin_fstest auto defrag compress
> cnt=119
> filesize=48000
>
> diff --git a/tests/btrfs/048 b/tests/btrfs/048
> index 93d4a171..7816a997 100755
> --- a/tests/btrfs/048
> +++ b/tests/btrfs/048
> @@ -11,7 +11,7 @@
> # btrfs: fix zstd compression parameter
> #
> . ./common/preamble
> -_begin_fstest auto quick
> +_begin_fstest auto quick compress
>
> # Override the default cleanup function.
> _cleanup()
> diff --git a/tests/btrfs/052 b/tests/btrfs/052
> index 4408de21..0d60d413 100755
> --- a/tests/btrfs/052
> +++ b/tests/btrfs/052
> @@ -9,7 +9,7 @@
> # file.
> #
> . ./common/preamble
> -_begin_fstest auto quick clone
> +_begin_fstest auto quick clone compress
>
> # Override the default cleanup function.
> _cleanup()
> diff --git a/tests/btrfs/056 b/tests/btrfs/056
> index e5ac516d..e1263983 100755
> --- a/tests/btrfs/056
> +++ b/tests/btrfs/056
> @@ -15,7 +15,7 @@
> # Btrfs: make fsync work after cloning into a file
> #
> . ./common/preamble
> -_begin_fstest auto quick clone log
> +_begin_fstest auto quick clone log compress
>
> # Override the default cleanup function.
> _cleanup()
> diff --git a/tests/btrfs/059 b/tests/btrfs/059
> index d2ced0ae..76a1e76e 100755
> --- a/tests/btrfs/059
> +++ b/tests/btrfs/059
> @@ -11,7 +11,7 @@
> # Btrfs: add missing compression property remove in btrfs_ioctl_setflags
> #
> . ./common/preamble
> -_begin_fstest auto quick
> +_begin_fstest auto quick compress
>
> # Override the default cleanup function.
> _cleanup()
> diff --git a/tests/btrfs/094 b/tests/btrfs/094
> index e94cf17b..75804465 100755
> --- a/tests/btrfs/094
> +++ b/tests/btrfs/094
> @@ -18,7 +18,7 @@
> # Btrfs: incremental send, fix clone operations for compressed extents
> #
> . ./common/preamble
> -_begin_fstest auto quick send
> +_begin_fstest auto quick send compress
>
> # Override the default cleanup function.
> _cleanup()
> diff --git a/tests/btrfs/112 b/tests/btrfs/112
> index c3f7fe5c..fd7aaad4 100755
> --- a/tests/btrfs/112
> +++ b/tests/btrfs/112
> @@ -8,7 +8,7 @@
> # corruption or data loss.
> #
> . ./common/preamble
> -_begin_fstest auto quick clone prealloc
> +_begin_fstest auto quick clone prealloc compress
>
> # Import common functions.
> . ./common/filter
> diff --git a/tests/btrfs/150 b/tests/btrfs/150
> index a7d7d9cc..c21e0a66 100755
> --- a/tests/btrfs/150
> +++ b/tests/btrfs/150
> @@ -11,7 +11,7 @@
> # Btrfs: fix kernel oops while reading compressed data
> #
> . ./common/preamble
> -_begin_fstest auto quick dangerous read_repair
> +_begin_fstest auto quick dangerous read_repair compress
>
> # Import common functions.
> . ./common/filter
> diff --git a/tests/btrfs/167 b/tests/btrfs/167
> index fb271cfa..2cfcf100 100755
> --- a/tests/btrfs/167
> +++ b/tests/btrfs/167
> @@ -11,7 +11,7 @@
> # ac0b4145d662 ("btrfs: scrub: Don't use inode pages for device replace")
> #
> . ./common/preamble
> -_begin_fstest auto quick replace volume
> +_begin_fstest auto quick replace volume compress
>
> # Import common functions.
> . ./common/filter
> diff --git a/tests/btrfs/173 b/tests/btrfs/173
> index 4972a5a7..6e78a826 100755
> --- a/tests/btrfs/173
> +++ b/tests/btrfs/173
> @@ -8,7 +8,7 @@
> # CoW file nor compressed file.
> #
> . ./common/preamble
> -_begin_fstest auto quick swap
> +_begin_fstest auto quick swap compress
>
> . ./common/filter
>
> diff --git a/tests/btrfs/174 b/tests/btrfs/174
> index 0acd65f0..16305c18 100755
> --- a/tests/btrfs/174
> +++ b/tests/btrfs/174
> @@ -8,7 +8,7 @@
> # specific to Btrfs.
> #
> . ./common/preamble
> -_begin_fstest auto quick swap
> +_begin_fstest auto quick swap compress
>
> . ./common/filter
>
> diff --git a/tests/btrfs/259 b/tests/btrfs/259
> index 358a4550..7f053ac9 100755
> --- a/tests/btrfs/259
> +++ b/tests/btrfs/259
> @@ -8,7 +8,7 @@
> # at their max capacity.
> #
> . ./common/preamble
> -_begin_fstest auto quick defrag fiemap
> +_begin_fstest auto quick defrag fiemap compress
>
> # Import common functions.
> . ./common/filter
> --
> 2.40.1
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send'
2023-12-04 15:45 ` [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send' fdmanana
@ 2023-12-04 18:03 ` Zorro Lang
0 siblings, 0 replies; 5+ messages in thread
From: Zorro Lang @ 2023-12-04 18:03 UTC (permalink / raw)
To: fdmanana; +Cc: fstests, linux-btrfs, Filipe Manana
On Mon, Dec 04, 2023 at 03:45:11PM +0000, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
>
> This test case exercises subvolumes, snapshot and send/receive, so add
> the corresponding groups to the test.
>
> Signed-off-by: Filipe Manana <fdmanana@suse.com>
> ---
Good to me,
Reviewed-by: Zorro Lang <zlang@redhat.com>
> tests/btrfs/048 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/btrfs/048 b/tests/btrfs/048
> index 7816a997..8a88b8cc 100755
> --- a/tests/btrfs/048
> +++ b/tests/btrfs/048
> @@ -11,7 +11,7 @@
> # btrfs: fix zstd compression parameter
> #
> . ./common/preamble
> -_begin_fstest auto quick compress
> +_begin_fstest auto quick compress subvol snapshot send
>
> # Override the default cleanup function.
> _cleanup()
> --
> 2.40.1
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-04 18:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 15:45 [PATCH 0/2] fstests: add some missing groups to some btrfs tests fdmanana
2023-12-04 15:45 ` [PATCH 1/2] btrfs: add some tests to the 'compress' group fdmanana
2023-12-04 18:02 ` Zorro Lang
2023-12-04 15:45 ` [PATCH 2/2] btrfs/048: add missing groups 'subvol', 'snapshot' and 'send' fdmanana
2023-12-04 18:03 ` Zorro Lang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox