strace-S.test: check "-S name"

* tests/strace-S.test: Add a check for "-c -S name" output.
This commit is contained in:
Дмитрий Левин 2016-05-10 00:03:59 +00:00
parent fa925dce70
commit a44c5184f9

View File

@ -24,5 +24,6 @@ test_c()
c='[[:space:]]\+\([^[:space:]]\+\)'
test_c calls '-n -r' '/^[[:space:]]\+[0-9]/ s/^'"$c$c$c$c"'[[:space:]].*/\4/p'
test_c name '' '/^[[:space:]]\+[0-9]/ s/^'"$c$c$c$c"'\([[:space:]]\+[0-9]\+\)\?'"$c"'$/\6/p'
rm -f "$OUT"