From e96386521cebbb51a36b0ac98d349e513ee217fb Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Sat, 13 Jul 2019 21:39:03 -0400 Subject: [PATCH] test/test-functions: instmods call to find should use -type f without using -type f, the logs print an error such as: E: E: modprobe: FATAL: Module asymmetric_keys not found in directory /lib/modules/4.15.0-54-generic while this doesn't appear to cause problems, it can be extremely distracting when trying to debug real failures. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 89fa1638451..dcbaea6f374 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1587,7 +1587,7 @@ instmods() { | instmods else ( [[ "$_mpargs" ]] && echo $_mpargs - find "$KERNEL_MODS" -path "*/${_mod#=}/*" -printf '%f\n' ) \ + find "$KERNEL_MODS" -path "*/${_mod#=}/*" -type f -printf '%f\n' ) \ | instmods fi ;;