Our error(3) implementation uses program_invocation_name, which is only the command name, not the full path of the command. --- elfutils-0.193/tests/run-stack-d-test.sh.old 2025-04-25 15:16:30.000000000 -0500 +++ elfutils-0.193/tests/run-stack-d-test.sh 2025-05-26 23:39:26.261946439 -0500 @@ -65,7 +65,7 @@ if test "$elfutils_testrun" = "installed"; then STACKCMD=${bindir}/`program_transform stack` else -STACKCMD=${abs_top_builddir}/src/stack +STACKCMD=stack fi # Disable valgrind while dumping because of a bug unmapping libc.so. --- elfutils-0.193/tests/run-stack-demangled-test.sh.old 2025-04-25 15:16:30.000000000 -0500 +++ elfutils-0.193/tests/run-stack-demangled-test.sh 2025-05-26 23:40:19.246278094 -0500 @@ -34,7 +34,7 @@ if test "$elfutils_testrun" = "installed"; then STACKCMD=${bindir}/`program_transform stack` else -STACKCMD=${abs_top_builddir}/src/stack +STACKCMD=stack fi # Disable valgrind while dumping because of a bug unmapping libc.so. --- elfutils-0.193/tests/run-stack-i-test.sh.old 2025-04-25 15:16:30.000000000 -0500 +++ elfutils-0.193/tests/run-stack-i-test.sh 2025-05-26 23:39:47.539670116 -0500 @@ -26,7 +26,7 @@ if test "$elfutils_testrun" = "installed"; then STACKCMD=${bindir}/`program_transform stack` else -STACKCMD=${abs_top_builddir}/src/stack +STACKCMD=stack fi # Disable valgrind while dumping because of a bug unmapping libc.so.