diff --git a/ChangeLog b/ChangeLog index 9893a30..b2a5087 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-11-19 Dmitry V. Levin + * testsuite/config-sub.sh: Fix indentation that uses spaces before + tabs. + * .gitattributes: New file. 2020-11-17 Dmitry V. Levin diff --git a/testsuite/config-sub.sh b/testsuite/config-sub.sh index c679bb3..325a51f 100644 --- a/testsuite/config-sub.sh +++ b/testsuite/config-sub.sh @@ -30,22 +30,22 @@ run_one_config_sub() run_config_sub() { - local -i rc=0 jobs=0 + local -i rc=0 jobs=0 numtests=0 name="checks" while read -r alias canonical ; do run_one_config_sub "$alias" "$canonical" & numtests+=1 jobs+=1 - if test $jobs -eq $maxprocs ; then - for pid in $(jobs -p) ; do - wait "$pid" + if test $jobs -eq $maxprocs ; then + for pid in $(jobs -p) ; do + wait "$pid" rc=$((rc || $?)) done jobs=0 fi done < config-sub.data for pid in $(jobs -p) ; do - wait "$pid" + wait "$pid" rc=$((rc || $?)) done return $rc @@ -73,16 +73,16 @@ run_config_sub_idempotent() sed -r 's/\t+/\t/g' < config-sub.data | cut -f 2 | uniq | while read -r canonical ; do run_one_config_sub_idempotent "$canonical" & numtests+=1 jobs+=1 - if test $jobs -eq $maxprocs ; then - for pid in $(jobs -p) ; do - wait "$pid" + if test $jobs -eq $maxprocs ; then + for pid in $(jobs -p) ; do + wait "$pid" rc=$((rc || $?)) done jobs=0 fi done for pid in $(jobs -p) ; do - wait "$pid" + wait "$pid" rc=$((rc || $?)) done return $rc