From b4ee4ff0022ad21ec7f42609c66f7083de748636 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Wed, 19 Feb 2025 15:56:38 +0200 Subject: [PATCH] fix(tests/nvme/056): Update yml path The ynl Python code has been moved to a dedicated directory in Linux kernel commit ab88c2b3739a. Update the test to reflect this new location. Signed-off-by: Denys Fedoryshchenko --- tests/nvme/056 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/nvme/056 b/tests/nvme/056 index 2babe69e..bdf0d674 100755 --- a/tests/nvme/056 +++ b/tests/nvme/056 @@ -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 @@ -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" \ "$@" }