Created
          January 31, 2012 01:43 
        
      - 
      
- 
        Save tjdett/1708158 to your computer and use it in GitHub Desktop. 
    Test case for Foreman Issue #97
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | test: ./test.sh $PORT | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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