ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/BOSS/Examples/test.sh
Revision: 1.4
Committed: Mon Mar 13 13:57:44 2006 UTC (19 years, 1 month ago) by gcodispo
Content type: application/x-sh
Branch: MAIN
CVS Tags: BOSS_4_0_2, BOSS_4_0_1, BOSS_4_0_0, BOSS_v4_0_0-pre2, BOSS_v4_0_0-pre1
Changes since 1.3: +6 -1 lines
Log Message:
Bug fixing in programExecutor
Code reorganization, more uniform interfaces
Make clean fixed
MonaLisa fixed

File Contents

# User Rev Content
1 elmer 1.1 #!/bin/sh
2 gcodispo 1.3 #
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 elmer 1.1 cd $BOSSDIR
13     ./CONFIGDB
14     . bossenv.sh
15     bossAdmin configureDB
16 gcodispo 1.3 #
17     # register test program
18     cd $BOSSDIR/Examples
19 elmer 1.1 ./registerTestProgram
20 gcodispo 1.3 #
21     # register fork scheduler
22     cd $BOSSDIR/BossSched/bin
23 elmer 1.1 ./registerForkScheduler
24 gcodispo 1.3 #
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 gcodispo 1.4 else
35     cd $BOSSDIR/BossRTMon/bin
36     FILESSTRING="-updatorPath bossrtupdatorMySQL -clientPath bossrtclientMySQL -configPath ${HOME}/.bossrc/MySQLRTConfig.clad"
37     echo "bossAdmin registerRTMon -name mysql $FILESSTRING -default"
38     bossAdmin registerRTMon -name mysql $FILESSTRING -default
39 gcodispo 1.3 fi
40     fi
41     #
42 gcodispo 1.4 #