Megatest

Check-in [ec59887bf5]
Login
Overview
Comment:Checked in preliminary script to check pre-requisites for installing chicken
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.64
Files: files | file ages | folders
SHA1: ec59887bf57db3fb04c4a2a22839bfb760a0082f
User & Date: jmoon18 on 2017-07-18 16:03:01
Other Links: branch diff | manifest | tags
Context
2017-07-20
10:02
Added bash script to make simple report from megatest call gathering. This is handy if you are trying to find what is loading down a server for example. check-in: 69e4b88930 user: mrwellan tags: v1.64
2017-07-18
16:03
Checked in preliminary script to check pre-requisites for installing chicken check-in: ec59887bf5 user: jmoon18 tags: v1.64
2017-07-17
17:02
Fixing fork check-in: cedd024462 user: jmoon18 tags: v1.64
Changes

Added utils/checkPreReqs version [d13b8d802c].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
SYSTEM_TYPE=$(lsb_release -irs |tr ' ' '_' |tr '\n' '-')$(uname -i)
file=`/bin/mktemp`
case $SYSTEM_TYPE in
Ubuntu-17.04-x86_64-std)
	apt list --installed | cut -d/ -f 1 > $file
        ;;
Ubuntu-16.04-x86_64)
	apt list --installed | cut -d/ -f 1 > $file
        ;;
Ubuntu-16.04-i686)
	apt list --installed | cut -d/ -f 1 > $file
        ;;
SUSE_LINUX_11-x86_64)
	rpm -qa > $file 
  ;;
CentOS_5.11-x86_64-std)
	rpm -qa > $file 
  ;;
esac



for package in libmysqlclient-dev libsqlite3-dev sqlite3 postgresql libreadline-dev libwebkitgtk-dev libpangox-1.0-0 zlib1g-dev libfreetype6 cmake libssl-dev uuid-dev libmotif3 mysql-client; do
  grep --silent $package $file
  if [ "$?" != "0" ]; then
    echo "sudo apt install $package"
  fi 
done
rm $file