Refactor: xml: Replace test with if and brackets in regression.sh
For readability
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>