From: Bob Glossman Date: Thu, 21 Apr 2016 17:18:16 +0000 (-0700) Subject: LU-8052 test: stop using unknonwn sed option X-Git-Tag: 2.8.53~36 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F19714%2F5;p=fs%2Flustre-release.git LU-8052 test: stop using unknonwn sed option Avoid the use of the -E command line option for sed. It isn't known in all versions. Signed-off-by: Bob Glossman Change-Id: I66f58aa04ecc751f4b3d61475cafe0c478ce6206 Reviewed-on: http://review.whamcloud.com/19714 Reviewed-by: Andreas Dilger Tested-by: Jenkins Reviewed-by: James Nunez Tested-by: Maloo --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 711d394..27b0c10 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -59,7 +59,7 @@ sanitize_parameters() { do local path=${!i} if [ -d "$path" ]; then - eval export $i=$(echo $path | sed -E 's/\/+$//g') + eval export $i=$(echo $path | sed -r 's/\/+$//g') fi done }