mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-27 05:21:34 +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})
|
local search_path=$(echo ${autotest_dir}/{client,server}/{tests,site_tests})
|
||||||
for test_request in $FLAGS_ARGV; do
|
for test_request in $FLAGS_ARGV; do
|
||||||
test_request=$(remove_quotes "${test_request}")
|
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}")
|
egrep "${test_request}")
|
||||||
if [[ -z "${finds}" ]]; then
|
if [[ -z "${finds}" ]]; then
|
||||||
echo "Can not find match for ${test_request}"
|
echo "Can not find match for ${test_request}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user