
30 Nov
2020
30 Nov
'20
9:30 a.m.
[why] it has a warn when submit job: WARN -- skip non-executable */lkp-tests/monitors/plain/wait [how] lkp-tests/monitors/plain/wait is link to bin/event/wakeup but bin/event/wakeup does not exist. so we will do not check link file. Signed-off-by: Wei Jihui <weijihuiall@163.com> --- lib/job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/job.rb b/lib/job.rb index 8d1f7469..78604d64 100755 --- a/lib/job.rb +++ b/lib/job.rb @@ -115,6 +115,8 @@ def __create_programs_hash(glob, lkp_src) next if path =~ /\.[0-9]+$/ unless File.executable?(path) + next if File.symlink?(path) + log_warn "skip non-executable #{path}" unless path =~ /\.cr$/ next end -- 2.23.0