Hi Nikolay, > This (as all other lsattr lines) fail for me because of difference in > output - in your golden file there is a single space char between the > filename and its state whilst lsattr produces a number of spaces. So in > addition to filter_scratch this needs _filter_spaces as well : > > +$LSATTR_PROG -l "$test_file" | _filter_scratch | _filter_spaces > Thanks for your comment. I did not notice the space issue before. From the output of Filipe's test, there is also only one space between filename and its state. This is the same as my test results. I have no idea which procedure these space were eliminated, but I think it is reasonable to add a space filter here. Thanks.