diff --git a/tests/helpers/tpm.sh b/tests/helpers/tpm.sh index 9de1d95..ecf29e7 100644 --- a/tests/helpers/tpm.sh +++ b/tests/helpers/tpm.sh @@ -1,10 +1,5 @@ check_dir_exists_helper() { - local dir_path=$1 - if [ -d "$dir_path" ]; then - return 0 - else - return 1 - fi + [ -d "$1" ] } # runs the scripts and asserts it has the correct output and exit code