mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 21:11:54 +01:00
Add restrictions to files considered control files
Review URL: http://codereview.chromium.org/1155003
This commit is contained in:
parent
7c2cef2e70
commit
8142fd6b35
@ -150,7 +150,7 @@ function main() {
|
||||
local search_path=$(echo ${autotest_dir}/{client,server}/{tests,site_tests})
|
||||
for test_request in $FLAGS_ARGV; do
|
||||
test_request=$(remove_quotes "${test_request}")
|
||||
! finds=$(find ${search_path} -type f -name control\* | \
|
||||
! finds=$(find ${search_path} -maxdepth 2 -type f -name control\* | \
|
||||
egrep "${test_request}")
|
||||
if [[ -z "${finds}" ]]; then
|
||||
echo "Can not find match for ${test_request}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user