Ignore:
Timestamp:
26/04/2009 20:26:07 (3 years ago)
Author:
chris
Message:

Put the shell script that kills all running daemons into a shell
function to avoid repetition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makebuildenv.pl.in

    r2504 r2514  
    429429                        { 
    430430                                print TESTFILE <<__E; 
     431kill_daemons() 
     432{ 
     433        kill_process bbackupd 
     434        kill_process bbstored 
     435        kill_process httpserver 
     436        kill_process s3simulator 
     437} 
     438 
    431439echo Killing any running daemons... 
    432 kill_process bbackupd 
    433 kill_process bbstored 
    434 kill_process httpserver 
    435 kill_process s3simulator 
     440kill_daemons 
    436441__E 
    437442                        } 
     
    460465                        { 
    461466                                print TESTFILE <<__E; 
    462 kill_process bbackupd 
    463 kill_process bbstored 
     467kill_daemons 
    464468__E 
    465469                        } 
Note: See TracChangeset for help on using the changeset viewer.