Skip to content

Commit a1a57d5

Browse files
committed
check-kmod-load-unload: use TOPDIR, don't rely on PATH
This was apparently the only test in run-all-tests.sh that required a PATH change. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 942012c commit a1a57d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-case/check-kmod-load-unload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ do
7474
done
7575

7676
dlogi "run kmod/sof-kmod-remove.sh"
77-
sudo sof_remove.sh || die "remove modules error"
77+
"$TOPDIR"/tools/kmod/sof_remove.sh || die "remove modules error"
7878

7979
## - 1a: check for errors after removal
8080
dlogi "checking for general errors after kmod unload with sof-kernel-log-check tool"
@@ -83,7 +83,7 @@ do
8383

8484
setup_kernel_check_point
8585
dlogi "run kmod/sof_insert.sh"
86-
sudo sof_insert.sh || die "insert modules error"
86+
"$TOPDIR"/tools/kmod/sof_insert.sh || die "insert modules error"
8787

8888
## - 2a: check for errors after insertion
8989
dlogi "checking for general errors after kmod insert with sof-kernel-log-check tool"

0 commit comments

Comments
 (0)