From: Marcos Paulo de Souza <mpdesouza@xxxxxxxx> Changes from v2: * Added Reviewed-by from Nikolay to patch 0001 * Changed awk to $AWK_PROG, suggested by Eryu * Changed _run_btrfs_util_prog to $BTRFS_UTIL_PROG, suggested by Eryu * Use _scratch_unmount instead of executing umount by hand, sugested by Eryu * Created a local function to delete and list subvolumes, suggested by Eryu Changes from v1: * Added some prints printing what is being tested * The test now uses the _btrfs_get_subvolid to get subvolumeids instead of using plain integers * New patch expanding the funtionality of _require_btrfs_command, which now check for argument of subcommands Marcos Paulo de Souza (2): common: btrfs: Improve _require_btrfs_command btrfs: Test subvolume delete --subvolid feature common/btrfs | 13 ++++++-- tests/btrfs/203 | 73 +++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/203.out | 14 +++++++++ tests/btrfs/group | 1 + 4 files changed, 99 insertions(+), 2 deletions(-) create mode 100755 tests/btrfs/203 create mode 100644 tests/btrfs/203.out -- 2.25.0