ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/BOSS/Examples/test.sh
(Generate patch)

Comparing COMP/BOSS/Examples/test.sh (file contents):
Revision 1.2 by gcodispo, Tue Jan 17 12:40:31 2006 UTC vs.
Revision 1.3 by gcodispo, Fri Mar 10 18:40:37 2006 UTC

# Line 1 | Line 1
1   #!/bin/sh
2 <
3 < test -z $BOSSDIR && exit
4 <
2 > #
3 > if [ -z $BOSSDIR ]; then
4 >    echo
5 >    echo "BOSS env not set"
6 >    echo "please run bossenv.[c]sh"
7 >    echo
8 >    exit
9 > fi
10 > #
11 > # configure L&B database
12   cd $BOSSDIR
13   ./CONFIGDB
14   . bossenv.sh
15   bossAdmin configureDB
16 < cd Examples
16 > #
17 > # register test program
18 > cd $BOSSDIR/Examples
19   ./registerTestProgram
20 < cd ../BossSched/bin
20 > #
21 > # register fork scheduler
22 > cd $BOSSDIR/BossSched/bin
23   ./registerForkScheduler
24 < cd ../../BossRTMon/
25 < ./CONFIGDB
26 < cd bin
27 < ./registerMySQLRTmon
24 > #
25 > # register mysql RTMon
26 > if [ -f "$HOME/.bossrc/MySQLRTConfig.clad" ]; then
27 >    echo "Found previous MySQL RT configuration"
28 >    echo "Do you want to overwrite it? y/n? "
29 >    read ANSW
30 >    echo
31 >    if [ "$ANSW" = "y" ]; then
32 >        cd $BOSSDIR/BossRTMon/
33 >        ./CONFIGDB
34 >    fi
35 > fi
36 > #
37 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines