tools/testing/selftests/kselftest_harness/harness-selftest.sh

Source file repositories/reference/linux-study-clean/tools/testing/selftests/kselftest_harness/harness-selftest.sh

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/kselftest_harness/harness-selftest.sh
Extension
.sh
Size
251 bytes
Lines
14
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Selftest for kselftest_harness.h
#

set -e

DIR="$(dirname $(readlink -f "$0"))"

"$DIR"/harness-selftest > harness-selftest.seen || true

diff -u "$DIR"/harness-selftest.expected harness-selftest.seen

Annotation

Implementation Notes