logo       

tester run,1.12,1.13: msg#00068

Subject: tester run,1.12,1.13
Update of /cvsroot/nice/tester
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27117

Modified Files:
        run 
Log Message:
Use short machine name.

USER seems not defined when running from cron, using whoami instead.

Push the creation of the test results page, instead of pulling it from SF.
Would need locking with more than one test machine.


Index: run
===================================================================
RCS file: /cvsroot/nice/tester/run,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** run 7 May 2004 09:01:02 -0000       1.12
--- run 25 Feb 2005 16:35:53 -0000      1.13
***************
*** 18,24 ****
  
  # Set up variables, that can be overriden in the setup file.
! machine="`hostname -f`"
  system="`uname -a`"
! user="$USER"
  
  export CVS_SOURCEFORGE="cvs.sourceforge.net"
--- 18,24 ----
  
  # Set up variables, that can be overriden in the setup file.
! machine="`hostname`"
  system="`uname -a`"
! user="`whoami`"
  
  export CVS_SOURCEFORGE="cvs.sourceforge.net"
***************
*** 49,53 ****
      name="`expr match $conffile '../config\.\(.*\)'`"
  
!     # Blamk the variable, so it does not keep the previous value if it
      # is not reset to a new value.
      JDK_VERSION=
--- 49,53 ----
      name="`expr match $conffile '../config\.\(.*\)'`"
  
!     # Blank the variable, so it does not keep the previous value if it
      # is not reset to a new value.
      JDK_VERSION=
***************
*** 121,127 ****
  else
    scp -p ./*.id ./*.res ./*.html $user@xxxxxxxxxxxxxxxxxxxxx:$results_dir
  
    # If everything went OK, upload the new development version.
!   if [ $failed = false -a "$NICE_MASTER" ]; then
      scp Nice/share/java/nice.jar 
bonniot@xxxxxxxxxxxxxxxxxxxxx:/home/groups/n/ni/nice/htdocs
  fi
--- 121,129 ----
  else
    scp -p ./*.id ./*.res ./*.html $user@xxxxxxxxxxxxxxxxxxxxx:$results_dir
+   # update the results page
+   ssh $user@xxxxxxxxxxxxxxxxxxxxx "sh -c 'cd $results_dir/.. && ./run'"
  
    # If everything went OK, upload the new development version.
!   if [ "$failed" = false -a "$NICE_MASTER" ]; then
      scp Nice/share/java/nice.jar 
bonniot@xxxxxxxxxxxxxxxxxxxxx:/home/groups/n/ni/nice/htdocs
  fi



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe