Index: src/scripts/run_remote_tests.sh |
diff --git a/src/scripts/run_remote_tests.sh b/src/scripts/run_remote_tests.sh |
index 19c3b5e9006097173a66830bfb9a088bb40c613b..1985d566ec364cfcebb381fbabf98e129b9c8f43 100755 |
--- a/src/scripts/run_remote_tests.sh |
+++ b/src/scripts/run_remote_tests.sh |
@@ -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}" |