Compare commits
No commits in common. "3d620591ba00a29e2dd775c4fc706df669d9f5d3" and "db9e8eb03cb881cf4a1a2352331ba8983196f25c" have entirely different histories.
3d620591ba
...
db9e8eb03c
1
all.sh
1
all.sh
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# From https://stackoverflow.com/a/360275
|
||||||
kill_child_jobs() {
|
kill_child_jobs() {
|
||||||
echo "In kill_child_jobs()..."
|
echo "In kill_child_jobs()..."
|
||||||
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482999
|
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482999
|
||||||
|
|
3
bash.sh
3
bash.sh
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
|
||||||
|
|
||||||
kill_child_jobs() {
|
kill_child_jobs() {
|
||||||
# From https://unix.stackexchange.com/a/544167
|
# From https://stackoverflow.com/a/360275
|
||||||
while kill %% 2>/dev/null; do sleep 0; done
|
while kill %% 2>/dev/null; do sleep 0; done
|
||||||
}
|
}
|
||||||
|
|
1
dash.sh
1
dash.sh
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# From https://stackoverflow.com/a/360275
|
||||||
kill_child_jobs() {
|
kill_child_jobs() {
|
||||||
echo "In kill_child_jobs()..."
|
echo "In kill_child_jobs()..."
|
||||||
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482999
|
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482999
|
||||||
|
|
|
@ -40,7 +40,6 @@ do
|
||||||
printf '\t'
|
printf '\t'
|
||||||
"$DIR/test-kill-child-jobs.sh" "$script" "$shell" || true
|
"$DIR/test-kill-child-jobs.sh" "$script" "$shell" || true
|
||||||
done
|
done
|
||||||
|
|
||||||
printf '\n'
|
|
||||||
fi
|
fi
|
||||||
|
printf '\n'
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user