diff options
author | Dan Streetman <ddstreet@canonical.com> | 2019-07-14 03:39:03 +0200 |
---|---|---|
committer | Dan Streetman <ddstreet@canonical.com> | 2019-07-17 00:05:15 +0200 |
commit | e96386521cebbb51a36b0ac98d349e513ee217fb (patch) | |
tree | a5b7773fd18f54ce79000c8e36716e282827dc41 /test | |
parent | test: when stripping binaries, ignore case in suppressing "File format not re... (diff) | |
download | systemd-e96386521cebbb51a36b0ac98d349e513ee217fb.tar.xz systemd-e96386521cebbb51a36b0ac98d349e513ee217fb.zip |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions index 89fa163845..dcbaea6f37 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 ;; |