Message ID | 20210731165834.479633-1-brauner@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | Extend idmapped mount testsuite | expand |
On Sat, Jul 31, 2021 at 06:58:28PM +0200, Christian Brauner wrote: > From: Christian Brauner <christian.brauner@ubuntu.com> > > Hey, > > This adds two new tests: > - a regression test for vfs capabilities > - a new test with nested idmapping layouts > > In addition, I've added a new test for btrfs which is on-track to > support idmapped mounts in v5.15. I leave it to Eryu whether he wants to > merge the btrfs test already or not. I think there's no harm in doing so > but I'm also happy to wait. The last patch hasn't showed up on the list. We had this problem before and the cause is likely that the patch is too large. The whole series including the 6th patch can be pulled from: git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/xfstests-dev fs.idmapped.nested_userns git@gitlab.com:brauner/xfstests.git fs.idmapped.nested_userns git@github.com:brauner/xfstests.git fs.idmapped.nested_userns Thanks! Christian
From: Christian Brauner <christian.brauner@ubuntu.com> Hey, This adds two new tests: - a regression test for vfs capabilities - a new test with nested idmapping layouts In addition, I've added a new test for btrfs which is on-track to support idmapped mounts in v5.15. I leave it to Eryu whether he wants to merge the btrfs test already or not. I think there's no harm in doing so but I'm also happy to wait. Thanks! Christian Christian Brauner (6): idmapped-mounts: prepare for additional tests generic/640: add fscaps regression test idmapped-mounts: refactor helpers idmapped-mounts: add nested userns creation helpers generic/641: add nested user namespace tests btrfs/244: introduce btrfs specific idmapped mounts tests src/idmapped-mounts/idmapped-mounts.c | 4583 ++++++++++++++++++++++++- src/idmapped-mounts/mount-idmapped.c | 229 +- src/idmapped-mounts/utils.c | 359 +- src/idmapped-mounts/utils.h | 102 +- tests/btrfs/244 | 34 + tests/btrfs/244.out | 2 + tests/generic/633 | 3 +- tests/generic/640 | 28 + tests/generic/640.out | 2 + tests/generic/641 | 28 + tests/generic/641.out | 2 + 11 files changed, 5054 insertions(+), 318 deletions(-) create mode 100755 tests/btrfs/244 create mode 100644 tests/btrfs/244.out create mode 100755 tests/generic/640 create mode 100644 tests/generic/640.out create mode 100755 tests/generic/641 create mode 100644 tests/generic/641.out base-commit: dad0c0a852d1b10e7da285f29e99397dec0efec1