Make test command to work with the executable suffix on OS/2 as MinGW does

For examples, 'test -x file' fails even if 'file.exe' exists. And many
scripts do 'test -f file' to check its existence before. In addition,
MinGW bash does like this. So mimic MinGW's beheavior.

    modified:   c_test.c