[Bug 407191] New: string tests in ksh do not work properly