diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-08-21 20:46:04 (GMT) |
---|---|---|
committer | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-08-21 20:46:23 (GMT) |
commit | 6a8e21d8022a6880c9f46803463ebf93723d0885 (patch) | |
tree | 40ab88c73fe4d66036b92a75e956f71683a686ba /tests | |
parent | d68bfbde54ea1132dde615dcac58b2983f7a7a66 (diff) | |
download | lz4-6a8e21d8022a6880c9f46803463ebf93723d0885.zip lz4-6a8e21d8022a6880c9f46803463ebf93723d0885.tar.gz lz4-6a8e21d8022a6880c9f46803463ebf93723d0885.tar.bz2 |
fix warnings reported by shellcheck in shell scripts
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_custom_block_sizes.sh | 2 | ||||
-rwxr-xr-x | tests/test_install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_custom_block_sizes.sh b/tests/test_custom_block_sizes.sh index 56ba710..2f6591f 100755 --- a/tests/test_custom_block_sizes.sh +++ b/tests/test_custom_block_sizes.sh @@ -62,7 +62,7 @@ do done rm $TMPFILE.lz4 $TMPFILE1 $TMPFILE1.lz4 $TMPFILE2 $TMPFILE2.lz4 -if [ "$failures" == "" ] +if [ "$failures" = "" ] then echo ---- All tests passed exit 0 diff --git a/tests/test_install.sh b/tests/test_install.sh index cb9d8bb..ad0d4eb 100755 --- a/tests/test_install.sh +++ b/tests/test_install.sh @@ -6,7 +6,7 @@ make="make -C $lz4_root" unamestr=$(uname) if [ "$unamestr" = 'Linux' ]; then make="make -C $lz4_root" -elif [ "$unamestr" = 'FreeBSD' -o "$unamestr" = 'OpenBSD' ]; then +elif [ "$unamestr" = 'FreeBSD' ] || [ "$unamestr" = 'OpenBSD' ]; then make="gmake -C $lz4_root" fi |