function check() {
local failed=0
+ local item
for link in $(find ${BUILDROOT} -type l); do
if fgrep -q "/lib/udev/devices" <<<${link}; then
continue
fi
+ if listmatch "${link:${#BUILDROOT}}" ${QUALITY_AGENT_WHITELIST_SYMLINK}; then
+ log INFO "Symlink ${link} is on the whitelist."
+ continue
+ fi
+
destination=$(readlink ${link})
if [ "${destination:0:1}" = "/" ]; then
log ERROR " Absolute symlink: ${link}"