HADOOP-12355. test-patch TAP plugin should use ${SED} instead of sed (Jagadesh
Kiran N via aw)
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/c7022333
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/c7022333
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/c7022333
Branch: refs/heads/master
Commit: c7022333e216911f1b0dfd896383370111afd74a
Parents: b05d4c3
Author: Allen Wittenauer <[email protected]>
Authored: Fri Sep 4 14:45:29 2015 -0700
Committer: Allen Wittenauer <[email protected]>
Committed: Fri Sep 4 14:45:29 2015 -0700
----------------------------------------------------------------------
dev-support/test-patch.d/tap.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/c7022333/dev-support/test-patch.d/tap.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.d/tap.sh b/dev-support/test-patch.d/tap.sh
index f94a14f..7ced908 100755
--- a/dev-support/test-patch.d/tap.sh
+++ b/dev-support/test-patch.d/tap.sh
@@ -53,7 +53,7 @@ function tap_process_tests
if [[ -n "${filenames}" ]]; then
module_failed_tests=$(echo "${filenames}" \
- | sed -e "s,${TAP_LOG_DIR},,g" -e s,^/,,g )
+ | ${SED} -e "s,${TAP_LOG_DIR},,g" -e s,^/,,g )
# shellcheck disable=SC2086
cat ${filenames} >> "${PATCH_DIR}/patch-${filefrag}.tap"
TAP_LOGS="${TAP_LOGS} @@BASE@@/patch-${filefrag}.tap"