I have the following changeSet:
When running this, I get
"Not executing on os Windows 7 when  was specified" and the changeSet is marked as ran successfully.
The documentation doesn't mention the os attribute (http://www.liquibase.org/documentation/changes/execute_command.html
), but I'm assuming expected is something like
if no os is specified, run always.
In the code, an os= string of "" is converted to an 1 element list containing "" here:
trimToEmpty() converts null to "" and then splitAndTrim converts "" to a single item list.
The one element list is then compared to the OS name later.