You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by jm...@apache.org on 2022/09/10 17:43:29 UTC

[accumulo-testing] branch main updated: Add maxdepth parameter so that unit modules are not displayed in rwalk(#218)

This is an automated email from the ASF dual-hosted git repository.

jmanno pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new b46779c  Add maxdepth parameter so that unit modules are not displayed in rwalk(#218)
b46779c is described below

commit b46779c225193f6f72d753cb303c72949358c551
Author: Dom G <do...@gmail.com>
AuthorDate: Sat Sep 10 13:43:25 2022 -0400

    Add maxdepth parameter so that unit modules are not displayed in rwalk(#218)
---
 bin/rwalk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/rwalk b/bin/rwalk
index 42009d3..002b2e2 100755
--- a/bin/rwalk
+++ b/bin/rwalk
@@ -28,7 +28,7 @@ Usage: $0 <module> (<argument>)
    Modules listed below located in <at_home>/src/main/resources/randomwalk/modules
 
 EOF
-  find "$at_home/src/main/resources/randomwalk/modules/." -name "*.xml" -printf "%f\n"
+  find "$at_home/src/main/resources/randomwalk/modules/." -maxdepth 1 -name "*.xml" -printf "%f\n"
 }
 
 export CLASSPATH="$TEST_JAR_PATH:$HADOOP_API_JAR:$HADOOP_RUNTIME_JAR:$CLASSPATH"