YETUS-137. hadoop triggers java tests for pure-bash patch

Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/06655ab3
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/06655ab3
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/06655ab3

Branch: refs/heads/YETUS-83
Commit: 06655ab3ddfe6514f348a073efd45dc9ef50f614
Parents: d88024a
Author: Allen Wittenauer <[email protected]>
Authored: Tue Oct 27 11:27:53 2015 -0700
Committer: Allen Wittenauer <[email protected]>
Committed: Tue Oct 27 19:22:04 2015 -0700

----------------------------------------------------------------------
 dev-support/personality/hadoop.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/06655ab3/dev-support/personality/hadoop.sh
----------------------------------------------------------------------
diff --git a/dev-support/personality/hadoop.sh 
b/dev-support/personality/hadoop.sh
index f958f0c..eaeb79a 100755
--- a/dev-support/personality/hadoop.sh
+++ b/dev-support/personality/hadoop.sh
@@ -322,6 +322,9 @@ function personality_file_tests
        || ${filename} =~ \.cmd
        || ${filename} =~ src/scripts
        || ${filename} =~ src/test/scripts
+       || ${filename} =~ src/main/bin
+       || ${filename} =~ shellprofile\.d
+       || ${filename} =~ src/main/conf
        ]]; then
     yetus_debug "tests/shell: ${filename}"
     add_test unit
@@ -356,7 +359,7 @@ function personality_file_tests
   fi
 
   if [[ ${filename} =~ src/test ]]; then
-    yetus_debug "tests"
+    yetus_debug "tests: src/test"
     add_test unit
   fi
 
@@ -373,4 +376,4 @@ function hadoop_console_success
   printf "XC8gCiAgICAgICAgfCAgfCB8ICB8ICAKICAgICAgICB8ICB8IHwgIHwgIAog";
   printf "ICAgICAgIHwgICBvICAgfCAgCiAgICAgICAgfCB8ICAgfCB8ICAKICAgICAg";
   printf "ICB8bXwgICB8bXwgIAo"
-}
\ No newline at end of file
+}

Reply via email to