File Index
Files and directories
Sign in
FILE

test_generic_13.sh

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/ublk/test_generic_13.sh BASH
 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
~/ Read-only file preview.