Skip to content

btrfs-progs: fixes for the cli test group

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: make usage() call to properly return an exit valuecheck/main.c cmds/device.c cmds/filesystem.c +11 more+21 -240 replies
2/2btrfs-progs: tests: cli: fix 017 test case failuretests/cli-tests/017-fi-show-missing/test.sh+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: fixes for the cli test group

For the current devel branch, there are two failures for the cli test group:

- cli/009
This is caused by a very recent (only in devel branch) refactor for btrfstune, which removes the ability to customize the return value.

Fix it by adding a new @ret argument for usage() helper.

- cli/017
This exists for a while, and it's caused by a recent kernel change.

Fix the test case to handle it better.

Qu Wenruo (2):
btrfs-progs: make usage() call to properly return an exit value
btrfs-progs: tests: cli: fix 017 test case failure

 check/main.c                                | 4 ++--
 cmds/device.c                               | 4 ++--
 cmds/filesystem.c                           | 2 +-
 cmds/qgroup.c                               | 2 +-
 cmds/quota.c                                | 4 ++--
 cmds/receive.c                              | 4 ++--
 cmds/restore.c                              | 4 ++--
 cmds/subvolume-list.c                       | 2 +-
 cmds/subvolume.c                            | 2 +-
 common/help.c                               | 6 +++---
 common/help.h                               | 2 +-
 image/main.c                                | 3 +--
 mkfs/main.c                                 | 3 +--
 tests/cli-tests/017-fi-show-missing/test.sh | 2 +-
 tune/main.c                                 | 3 +--
 15 files changed, 22 insertions(+), 25 deletions(-)
Signature · 1 line
2.39.1