Tests: Adjust style in test_compress.sh.

This commit is contained in:
Lasse Collin 2023-01-04 18:40:28 +02:00
parent 52380678f4
commit aafd67fba0
1 changed files with 7 additions and 5 deletions

View File

@ -84,12 +84,14 @@ XZDEC="../src/xzdec/xzdec" # No memory usage limiter available
test -x ../src/xzdec/xzdec || XZDEC= test -x ../src/xzdec/xzdec || XZDEC=
# Create the required input file if needed. # Create the required input file if needed.
FILE=$1 #
# Derive temporary filenames for compressed and uncompressed outputs # Derive temporary filenames for compressed and uncompressed outputs
# from the input filename. This is needed when multiple tests are # from the input filename. This is needed when multiple tests are
# run in parallel. # run in parallel.
FILE=$1
TMP_COMP="tmp_comp_$FILE" TMP_COMP="tmp_comp_$FILE"
TMP_UNCOMP="tmp_uncomp_$FILE" TMP_UNCOMP="tmp_uncomp_$FILE"
case $FILE in case $FILE in
# compress_generated files will be created in the build directory # compress_generated files will be created in the build directory
# in the /tests/ sub-directory. # in the /tests/ sub-directory.