From: Cyril H. <su...@li...> - 2013-04-16 11:21:23
|
The branch, master, has been updated via 6d59a51ec789ec67de9fd68aadf2b3fd0c7740c8 (commit) from 0a78f236117172701a248e3e1570c26a8b41d2d8 (commit) - Log ----------------------------------------------------------------- commit 6d59a51ec789ec67de9fd68aadf2b3fd0c7740c8 Author: Shuang Qiu <shu...@or...> Date: Tue Apr 16 16:09:51 2013 +0800 utimensat_tests.sh: Replace "-E" option for sed. The '-E' option is obsoleted and is no longer supported by sed in most Linux distributions. Use '-r' instead. Signed-off-by: Shuang Qiu <shu...@or...> ----------------------------------------------------------------------- Summary of changes: .../kernel/syscalls/utimensat/utimensat_tests.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/utimensat/utimensat_tests.sh b/testcases/kernel/syscalls/utimensat/utimensat_tests.sh index 6776087..b8eba51 100755 --- a/testcases/kernel/syscalls/utimensat/utimensat_tests.sh +++ b/testcases/kernel/syscalls/utimensat/utimensat_tests.sh @@ -260,7 +260,7 @@ fi pattern="[[:space:]]*Defaults[[:space:]]*requiretty.*" if grep -q "^${pattern}" $sudoers; then tst_resm TINFO "Comment requiretty in $sudoers for automated testing systems" - if ! sed -E -i.$$ -e "s/^($pattern)/#\1/" $sudoers; then + if ! sed -r -i.$$ -e "s/^($pattern)/#\1/" $sudoers; then tst_resm TBROK "failed to mangle $sudoers properly" exit 1 fi hooks/post-receive -- ltp |