* lib/autotest/general.m4: Do not reset $at_jobs if it is equal
to one. Fixes hang with `-k notmatched'.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2008-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix hang with `testsuite -k notmatched'.
+ * lib/autotest/general.m4: Do not reset $at_jobs if it is equal
+ to one. Fixes hang with `-k notmatched'.
+
2008-10-02 Eric Blake <ebb9@byu.net>
Document more binary file portability traps.
# Set number of jobs for `-j'; avoid more jobs than test groups.
set X $at_groups; shift; at_max_jobs=$[@%:@]
-if test $at_jobs -eq 0 || test $at_jobs -gt $at_max_jobs; then
+if test $at_jobs -ne 1 &&
+ { test $at_jobs -eq 0 || test $at_jobs -gt $at_max_jobs; }; then
at_jobs=$at_max_jobs
fi