From 4ee386d35cbbbd23859f95fd7836f012c4f670a1 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sep 28 2020 20:33:34 +0000 Subject: make the file_mime_image search exclude symbolic links when searching for a png to check --- diff --git a/tests/p_file/02_file_mime_image.sh b/tests/p_file/02_file_mime_image.sh index 0d0c65c..c47d574 100755 --- a/tests/p_file/02_file_mime_image.sh +++ b/tests/p_file/02_file_mime_image.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - checking if file can recognize image mime file type " -pngfile="$(find /usr/share/ -name '*.png' -print -quit)" +pngfile="$(find /usr/share/ -type f -name '*.png' -print -quit)" if [ -z "$pngfile" ];then t_Log "No png file found => SKIP"