On Tue, Jun 26, 2018 at 08:24:51AM -0700, Bart Van Assche wrote: > As far as I know the requires() function is per test and there is no such > function at the group level. I prefer to define this test once at the group > level instead of copy/pasting the same test thirteen times in each test. No actually there is. There is a group_requires() in the test/XXX/group file (check for instance tests/group/nvme which has group_requires() calling _have_root and a group_device_requires() calling _test_dev_is_nvme). Byte, Johannes -- Johannes Thumshirn Storage jthumshirn@xxxxxxx +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850