Tests: Replace non portable shell parameter expansion
commit52380678f42364daa4510f92f6d3b18ec98c3638
authorJia Tan <jiat0218@gmail.com>
Wed, 4 Jan 2023 15:58:58 +0000 (4 23:58 +0800)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 15:58:58 +0000 (4 23:58 +0800)
tree36db71569ea751be2af331906fd3032475f70ff3
parentd0eb345bb7d148a62883ee299adec2b74a0f6f3b
Tests: Replace non portable shell parameter expansion

The shell parameter expansion using # and ## is not supported in
Solaris 10 Bourne shell (/bin/sh). Even though this is POSIX, it is not fully
portable, so we should avoid it.
tests/create_compress_files.c
tests/test_compress.sh
tests/test_compress_prepared_bcj_sparc
tests/test_compress_prepared_bcj_x86