# non-readable pwmrc

mkdir -p "${TESTS_OUTPUT_PATH}/${TEST_NAME}/.pwm"
touch "${TESTS_OUTPUT_PATH}/${TEST_NAME}/.pwm/pwmrc"
chmod 000 "${TESTS_OUTPUT_PATH}/${TEST_NAME}/.pwm/pwmrc"
HOME="${TESTS_OUTPUT_PATH}/${TEST_NAME}" $PWM \
    -P "${TESTS_PATH}/password.txt" </dev/null
grep 'failed to open configuration file' "${LOGFILE}"
