251 |
do |
do |
252 |
# It is on purpose that we match the test group titles too. |
# It is on purpose that we match the test group titles too. |
253 |
at_groups_selected=`echo "$at_groups_selected" | |
at_groups_selected=`echo "$at_groups_selected" | |
254 |
egrep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"` |
grep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"` |
255 |
done |
done |
256 |
at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'` |
at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'` |
257 |
# Smash the end of lines. |
# Smash the end of lines. |
335 |
_ATEOF |
_ATEOF |
336 |
# " 1 42 45 " => "^(1|42|45);". |
# " 1 42 45 " => "^(1|42|45);". |
337 |
at_groups_pattern=`echo "$at_groups" | sed 's/^ *//;s/ *$//;s/ */|/g'` |
at_groups_pattern=`echo "$at_groups" | sed 's/^ *//;s/ *$//;s/ */|/g'` |
|
at_groups_pattern="^(${at_groups_pattern});" |
|
338 |
echo "$at_help_all" | |
echo "$at_help_all" | |
|
egrep -e "$at_groups_pattern" | |
|
339 |
awk 'BEGIN { FS = ";" } |
awk 'BEGIN { FS = ";" } |
340 |
|
{ if ($[1] !~ /^('"$at_groups_pattern"')$/) next } |
341 |
{ if ($[1]) printf " %3d: %-18s %s\n", $[1], $[2], $[3] |
{ if ($[1]) printf " %3d: %-18s %s\n", $[1], $[2], $[3] |
342 |
if ($[4]) printf " %s\n", $[4] } ' |
if ($[4]) printf " %s\n", $[4] } ' |
343 |
exit 0 |
exit 0 |
848 |
echo AT_LINE >$at_check_line_file |
echo AT_LINE >$at_check_line_file |
849 |
( $at_traceon; $1 ) >$at_stdout 2>$at_stder1 |
( $at_traceon; $1 ) >$at_stdout 2>$at_stder1 |
850 |
at_status=$? |
at_status=$? |
851 |
egrep '^ *\+' $at_stder1 >&2 |
grep '^ *+' $at_stder1 >&2 |
852 |
egrep -v '^ *\+' $at_stder1 >$at_stderr |
grep -v '^ *+' $at_stder1 >$at_stderr |
853 |
at_failed=false |
at_failed=false |
854 |
dnl Check stderr. |
dnl Check stderr. |
855 |
m4_case([$4], |
m4_case([$4], |