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