change '-o' in a `test` command to `|| test`