Description
The top of CliUtil defines:
public static final String GFSHVM_IDENTIFIER = "gfsh"; public static boolean isGfshVM = Boolean.getBoolean(GFSHVM_IDENTIFIER);
Tests then set isGfshVM and unset that in setup/teardown. Various GFSH commands check the state of this boolean.
It would be thread-safe if it were volatile, but I'd prefer to just get rid of this static variable.