1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4. "$(cd "$(dirname "$0")" && pwd)"/test_common.sh 5 6ERR_CODE=0 7 8_prep_test "null" "check that feature list is complete" 9 10if ${UBLK_PROG} features | grep -q unknown; then 11 echo "# unknown feature detected!" 12 echo "# did you add a feature and forget to update feat_map in kublk?" 13 echo "# this failure is expected if running an older test suite against" 14 echo "# a newer kernel with new features added" 15 ERR_CODE=255 16fi 17 18_cleanup_test "null" 19_show_result $TID $ERR_CODE 20