ShellUtilTest.testWithDecode() passes, even though the data it was suppose to be base64-decoding was never base64-encoded to begin with.
It appears that commons-codec silently fails when trying to decode certain non-base64 data, which allows the test to pass even though it shouldn't.
I noticed this while converting to use the Java 8 Base64 class, as recommended by modernizer-maven-plugin in
I've fixed it in
ACCUMULO-4304 for 2.0, but the test should be fixed in 1.8 and earlier branches. The code itself didn't look like it was faulty, just the test, but the behavior of commons-codec in this case might affect users at runtime.