Fix #638: Avoid non-portable == for the test command