Changeset 2589 in /cluster/svnroot


Ignore:
Timestamp:
Aug 26, 2010 5:07:14 PM (10 years ago)
Author:
leemasa
Message:

Added a bccd testing framework.
It doesn't run automatically at start
time with a flag yet, but it's in a state
now that people can start making tests for it

Location:
bccd-ng/trunk
Files:
1 deleted
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • bccd-ng/trunk/bin/build_livecd.pl

    r2534 r2589  
    33use strict;
    44use warnings;
     5use lib "../trees/usr/local/lib/site_perl/5.10.0";
    56use Getopt::Long;
    67use Pod::Usage;
     
    4243
    4344if($opts{'help'}) {
    44     pod2usage(1);
     45    pod2usage(-verbose => 2);
    4546}
    4647
     
    4950   !$opts{'suite'}
    5051    ) {
    51     pod2usage(2);
     52    pod2usage(-verbose => 2);
    5253}
    5354
     
    9192Readonly my $LIBFETCH   => "/root/liberate";
    9293$ENV{'DEBIAN_FRONTEND'} = "noninteractive";
    93 Readonly my $PACKAGES   => "screen openssh-client openssh-server less make gcc-4.2 g++-4.2 flex bison gdb alien lsb-rpm bzip2 sudo yum debootstrap rsync dhcp3-server tcpdump syslinux syslinux-common subversion nfs-common nfs-kernel-server ncurses-base ncurses-bin libncurses5 libncurses5-dev psmisc vim iproute pciutils host bc ntp ntpdate debconf-utils dhcpcd xbase-clients libxt-dev lesstif2 lesstif2-dev ipcalc dialog lvm2 grub parted tzdata xserver-xorg-video-fbdev xfonts-100dpi xfonts-75dpi xfonts-scalable xserver-xorg-video-all fontconfig xfonts-base gpm udev vtwm aterm rxvt xbase-clients menu bbkeys libwww-mechanize-perl postgresql-client-common postgresql-client-8.3 libdbi-perl libdbd-pg-perl strace tcsh libnet-dhcp-perl libnetaddr-ip-perl libnet-ip-perl libstdc++5 pdnsd csh libterm-readkey-perl libsvn-perl libui-dialog-perl libreadonly-perl sshfs autofs libnet-dhcp-perl dnsutils libfile-touch-perl libnet-cidr-perl arping dosfstools gawk dc glutg3-dev libxi-dev wireless-tools snmp snmpd netpbm imagemagick libyaml-perl tcl8.4 libc6-i386";
     94
     95Readonly my $PACKAGES   => "screen openssh-client openssh-server less make gcc-4.2 g++-4.2 flex bison gdb alien lsb-rpm bzip2 sudo yum debootstrap rsync dhcp3-server tcpdump syslinux syslinux-common subversion nfs-common nfs-kernel-server ncurses-base ncurses-bin libncurses5 libncurses5-dev psmisc vim iproute pciutils host bc ntp ntpdate debconf-utils dhcpcd xbase-clients libxt-dev lesstif2 lesstif2-dev ipcalc dialog lvm2 grub parted tzdata xserver-xorg-video-fbdev xfonts-100dpi xfonts-75dpi xfonts-scalable xserver-xorg-video-all fontconfig xfonts-base gpm udev vtwm aterm rxvt xbase-clients menu bbkeys libwww-mechanize-perl postgresql-client-common postgresql-client-8.3 libdbi-perl libdbd-pg-perl strace tcsh libnet-dhcp-perl libnetaddr-ip-perl libnet-ip-perl libstdc++5 pdnsd csh libterm-readkey-perl libsvn-perl libui-dialog-perl libreadonly-perl sshfs autofs libnet-dhcp-perl dnsutils libfile-touch-perl libnet-cidr-perl arping dosfstools gawk dc glutg3-dev libxi-dev wireless-tools snmp snmpd netpbm imagemagick libyaml-perl tcl8.4 libc6-i386 libmime-lite-perl exim4";
    9496Readonly my $EXTRA_PACKAGES => "fftw2 fftw-dev sfftw-dev sfftw2 automake1.7 console-tools libreadline5-dev hal libxmu-headers libxmu-dev gfortran ethtool libssl0.9.8 libblas-dev libblas-dev atlas3-base atlas3-base-dev atlas3-base refblas3 lapack3 atlas3-test libg2c0-dev libg2c0 apache2 iceweasel xpdf octave3.0 ruby sl robotfindskitten pvm xpvm emacs grac blender automake1.9 libtool libglu1-mesa-dev minicom lcd4linux insight joe grace libxpm-dev telnet lsof xresprobe fbset fluxbox xgalaga zenmap nedit eterm manpages-dev";
     97
    9598Readonly my $AMD64_PACKAGES => "libc6-dev-i386 ia32-libs";
    9699Readonly my $BAD_PACKAGES   => ""; # Packages that throw some fatal error during install but still work
     
    285288          "lam.conf", "init.d/bccd-nfs", "init.d/bccd-unite-sw", "init.d/bccd-nics",
    286289          "init.d/bccd-dhcp-conf", "init.d/bccd-route", "init.d/bccd-keyboard", "rc.local",
    287           "init.d/bccd-fsrw", "auto.master", "auto.sshfs", "ld.so.conf.d/CUDA.conf" ) {
     290          "init.d/bccd-fsrw", "init.d/bccd-mail", "auto.master", "auto.sshfs", "ld.so.conf.d/CUDA.conf" ) {
    288291    $Bccd->run_test(
    289292        "revfetch",
     
    305308
    306309foreach my $file ( "bccd-networking", "bccd-passwd", "bccd-dhcp", "bccd-sshd", "bccd-nfs", "bccd-unite-sw",
    307           "bccd-nics", "bccd-dhcp-conf", "bccd-route", "bccd-keyboard", "bccd-fsrw" ) {
     310          "bccd-nics", "bccd-dhcp-conf", "bccd-route", "bccd-keyboard", "bccd-fsrw", "bccd-mail" ) {
    308311    $Bccd->run_test(
    309312        "chmod",
     
    716719}
    717720
    718 foreach my $script ( "nfs-common", "vboxadd-service", "mpd", "bccd-mount-devs", ) {
     721foreach my $script ( "nfs-common", "vboxadd-service", "mpd", "bccd-mount-devs", "bccd-mail",) {
     722
    719723    $Bccd->run_test(
    720724        "system",
     
    13941398
    13951399This script is based on KNOPPIX project documentation for creating a
     1400                #Test for running system commands
    13961401Debian-based Live CD using cloop.
    13971402
  • bccd-ng/trunk/trees/bin/bccd-syncdir

    r2273 r2589  
    7676sleep 2
    7777) |
     78if test ! $NI; then
    7879dialog --gauge "Syncing directory $DIRECTORY across hosts in $MACHINEFILE.  Target directory: $COMMONDIR" 6 60 0
     80fi
    7981
    8082pushd $PWD
  • bccd-ng/trunk/trees/usr/local/etc/modules/R/2.6.2

    r1698 r2589  
    22
    33prereq          modules
    4 prereq          lam
     4#prereq         lam
    55set             MOD_R              $env(BCCD_SW)/R
    66set      MOD_R_VERSION      2.6.2
Note: See TracChangeset for help on using the changeset viewer.