On Mon, Sep 14, 2020 at 01:13:59PM +0800, Xiao Yang wrote: > 'tPnE' flags are only valid for a directory so check them on a directory. > > Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxxxxx> The change looks good, but I wonder if we should split the chattr tests into _require_chattr_file_flag and _require_chattr_dir_flag to make the whole thing a little less convoluted..