jwack: _cheatfds error when run from toplevel make -j.

Also added a new unit test to confirm that 'make' behaviour works as
expected, with and without parallelism.
This commit is contained in:
Avery Pennarun 2018-12-04 00:07:23 -05:00
commit df44dc54a2
11 changed files with 68 additions and 3 deletions

13
t/203-make/wipe-redo.sh Normal file
View file

@ -0,0 +1,13 @@
vars=$(
env | {
IFS="="
while read key value; do
if [ "$key" != "${key#REDO}" ] ||
[ "$key" != "${key#MAKE}" ]; then
echo "$key"
fi
done
}
)
echo "Wiping vars:" $vars >&2
unset $vars