Browse Source

tests: replace "sed -E" with "sed -r"

because the latter is more portable.

* tests/strace-D.test: Replace "sed -E" with "sed -r".
Dmitry V. Levin 1 month ago
parent
commit
dea7eeb5da
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/strace-D.test

+ 1
- 1
tests/strace-D.test View File

@@ -25,7 +25,7 @@ status_file=/proc/self/status
25 25
 [ -f "$status_file" ] ||
26 26
 	framework_skip_ "$status_file is not available"
27 27
 
28
-set -- sed -n -E '/^(P|Tracer)Pid:/p' "$status_file"
28
+set -- sed -r -n '/^(P|Tracer)Pid:/p' "$status_file"
29 29
 "$@" > "$LOG" ||
30 30
 	framework_skip_ "$* does not work"
31 31
 

Loading…
Cancel
Save