s3-selftest use a more portable shell syntax