Avoid error with Tru64 awk and testsuite lines with many words.

* lib/autotest/general.m4 (AT_INIT): In the awk script that
reads the testsuite, set the field separator to an unusual value,
in order to not run over the limit of 199 fields.  Tru64 4.0D awk
even splits the input if $i, i>0, was never accessed in the script.
This commit is contained in:
Ralf Wildenhues 2007-11-17 09:36:17 +01:00
parent 17f6602af3
commit 90661f5cd9
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,11 @@
2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid error with Tru64 awk and testsuite lines with many words.
* lib/autotest/general.m4 (AT_INIT): In the awk script that
reads the testsuite, set the field separator to an unusual value,
in order to not run over the limit of 199 fields. Tru64 4.0D awk
even splits the input if $i, i>0, was never accessed in the script.
Revert 2007-10-17 change.
* TODO: Multiline args in config files and headers mean something
different and are not fixed, see

View File

@ -870,7 +870,9 @@ fi
_AT_NORMALIZE_TEST_GROUP_NUMBER(at_group_normalized)
echo " outfile[[\"$at_group\"]] = \"$at_test_source-$at_group_normalized\""
done
AS_ECHO(['}
AS_ECHO(['
FS = ""
}
emit == 0 && /^@%:@AT_START_/ {
test = substr($ 0, 11);
if (outfile[[test]]) {