HBASE-15918 Cleanup excludes/includes file after use in hbase-personality.sh to avoid asf license error. (Apekshit)
Change-Id: I3a47113ef9f598f90357b7cb580cbdc56f3c46f4 Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
f0a1e22441
commit
75c2360543
|
@ -104,6 +104,7 @@ function personality_modules
|
||||||
if [[ -n "${excludes}" ]]; then
|
if [[ -n "${excludes}" ]]; then
|
||||||
extra="${extra} -Dtest.exclude.pattern=${excludes}"
|
extra="${extra} -Dtest.exclude.pattern=${excludes}"
|
||||||
fi
|
fi
|
||||||
|
rm excludes
|
||||||
else
|
else
|
||||||
echo "Wget error $? in fetching excludes file from url" \
|
echo "Wget error $? in fetching excludes file from url" \
|
||||||
"${EXCLUDE_TESTS_URL}. Ignoring and proceeding."
|
"${EXCLUDE_TESTS_URL}. Ignoring and proceeding."
|
||||||
|
@ -115,6 +116,7 @@ function personality_modules
|
||||||
if [[ -n "${includes}" ]]; then
|
if [[ -n "${includes}" ]]; then
|
||||||
extra="${extra} -Dtest=${includes}"
|
extra="${extra} -Dtest=${includes}"
|
||||||
fi
|
fi
|
||||||
|
rm includes
|
||||||
else
|
else
|
||||||
echo "Wget error $? in fetching includes file from url" \
|
echo "Wget error $? in fetching includes file from url" \
|
||||||
"${INCLUDE_TESTS_URL}. Ignoring and proceeding."
|
"${INCLUDE_TESTS_URL}. Ignoring and proceeding."
|
||||||
|
|
Loading…
Reference in New Issue