From 125aafd175605e1c0912d51314491dec8e807be2 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 23 Mar 2025 22:46:18 +0100 Subject: tests: shell: Fix owner/0002-persist on aarch64 Not sure if arch-specific, but for some reason src/nft wrapper script would call src/.libs/lt-nft and thus the owner appeared as 'lt-nft' instead of the expected 'nft'. Cover for that by extracting the expected program name from /proc. Fixes: b5205165bd708 ("tests: shell: Extend table persist flag test a bit") Signed-off-by: Phil Sutter Acked-by: Florian Westphal --- tests/shell/testcases/owner/0002-persist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/shell/testcases') diff --git a/tests/shell/testcases/owner/0002-persist b/tests/shell/testcases/owner/0002-persist index 98a8eb13..700f00ec 100755 --- a/tests/shell/testcases/owner/0002-persist +++ b/tests/shell/testcases/owner/0002-persist @@ -47,7 +47,8 @@ cat >&"${COPROC[1]}" <