Changeset 3037 in /cluster/svnroot


Ignore:
Timestamp:
Mar 1, 2011 9:36:10 PM (10 years ago)
Author:
leemasa
Message:

edited .bash_profile for different behavior in testing mode and control generation mode (#524)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/sam-test_fw/packages/etc/skel/.bash_profile

    r2863 r3037  
    5353fi
    5454
    55 if [ -f /testmode ]; then
    56 if [ $DISPLAY ]; then
    57 if [ `tty` == "/dev/pts/0" ]; then
    58 echo "initiating automatic control generation"
    59 echo "some tests may take a little while"
    60 perl $HOME/tests/bccd_test_suite.pl -d $HOME/tests/test_lists/ -c --verbose --messy --mail
    61 echo "Please email smunk@shodor.org"
    62 echo "and state that you have run the iso."
    63 echo "Control generation complete."
    64 echo "You may shut down your system."
     55if [ -f /testmode -a ! $DISPLAY ]; then
     56        startx
    6557fi
     58
     59if [ `tty` == "/dev/pts/0" -a $HOSTNAME == "node000@bccd.net" ]; then
     60if [ -f /controlgenerate ]; then
     61echo "initiating automatic control generation
     62some tests may take a little while"
     63perl $HOME/tests/bccd_test_suite.pl -c --verbose --messy --mail
     64echo "Please email developers@bccd.net
     65and state that you have run the iso.
     66Control generation complete.
     67You may shut down your system."
    6668else
    67 startx
     69echo "initiating test suite"
     70perl $HOME/tests/bccd_test_suite.pl --verbose --messy --mail
     71echo "test suite completed"
    6872fi
    6973fi
    7074
    71 
Note: See TracChangeset for help on using the changeset viewer.