Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/nvme/056
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ requires() {

have_netlink_cli() {
local cli
cli="${KERNELSRC}/tools/net/ynl/cli.py"
cli="${KERNELSRC}/tools/net/ynl/pyynl/cli.py"

if ! [ -f "$cli" ]; then
SKIP_REASONS+=("Kernel sources do not have tools/net/ynl/cli.py")
SKIP_REASONS+=("Kernel sources do not have tools/net/ynl/pyynl/cli.py")
return 1
fi

if ! "$cli" -h &> /dev/null; then
SKIP_REASONS+=("Cannot run the kernel tools/net/ynl/cli.py")
SKIP_REASONS+=("Cannot run the kernel tools/net/ynl/pyynl/cli.py")
return 1;
fi

Expand All @@ -69,7 +69,7 @@ set_conditions() {
}

netlink_cli() {
"${KERNELSRC}/tools/net/ynl/cli.py" \
"${KERNELSRC}/tools/net/ynl/pyynl/cli.py" \
--spec "${KERNELSRC}/Documentation/netlink/specs/ulp_ddp.yaml" \
"$@"
}
Expand Down