Andrew, thanks a lot for review and comments.
Let's restore System.err in an @After clause in TestXAttrCommands. The System.err stuff could be done in a @BeforeClass and @AfterClass if you want. We should reset errContent in an @After too.
OK. Let's restore system.err and reset errContent in an @After clause.
Higher-level comment, is TestXAttrCommands even necessary when we have the XML infrastructure? It seems like we could fold those into the XML test instead.
I see your meaning. TestXAttrCommands is a more general test for fs shell input, doesn't rely on any file system. I'm inclined to keep them, could we?
Maybe add tests for removing/getting a non-existent xattr, help commands?
OK. Let's add them.