1
0

Compare commits

..

3 Commits

Author SHA1 Message Date
3d620591ba Fix comments. 2020-05-27 13:49:48 -07:00
403f7193e1 Remove outdated comment. 2020-05-27 13:46:31 -07:00
4220bc174f Fix extra newlines in output. 2020-05-27 13:42:42 -07:00
5 changed files with 4 additions and 5 deletions

1
all.sh
View File

@ -1,7 +1,6 @@
#!/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

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
kill_child_jobs() { kill_child_jobs() {
# From https://stackoverflow.com/a/360275 # From https://unix.stackexchange.com/a/544167
while kill %% 2>/dev/null; do sleep 0; done while kill %% 2>/dev/null; do sleep 0; done
} }

View File

@ -1,7 +1,6 @@
#!/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

View File

@ -40,6 +40,7 @@ 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

1
zsh.sh
View File

@ -1,7 +1,6 @@
#!/bin/zsh #!/bin/zsh
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()..."