From 04490846ef9db8622482939a6bd1daa0714ba20e Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Thu, 21 Apr 2016 10:18:16 -0700 Subject: [PATCH] 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 --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 1.8.3.1