Skip to content

Instantly share code, notes, and snippets.

@tjdett
Created January 31, 2012 01:43
Show Gist options
  • Save tjdett/1708158 to your computer and use it in GitHub Desktop.
Save tjdett/1708158 to your computer and use it in GitHub Desktop.
Test case for Foreman Issue #97
test: ./test.sh $PORT
#!/bin/bash
sleep_loop() {
while (true)
do
sleep 1
done
}
sleep_loop &
trap 'kill $(jobs -p)' EXIT;
sleep_loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment