From: Dan Streetman Date: Sun, 14 Jul 2019 01:39:03 +0000 (-0400) Subject: test/test-functions: instmods call to find should use -type f X-Git-Tag: v243-rc1~104^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e96386521cebbb51a36b0ac98d349e513ee217fb;p=thirdparty%2Fsystemd.git 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. --- 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 ;;