~jose/charms/trusty/terracotta/fixes

« back to all changes in this revision

Viewing changes to tests/00-setup

  • Committer: Matt Bruzek
  • Date: 2014-10-30 00:20:46 UTC
  • Revision ID: matthew.bruzek@canonical.com-20141030002046-kky9ma4gs37zpldq
Adding bundles test to get this charm into the trusty series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# This script sets up the requirements for amulet tests.
 
4
 
 
5
set -x 
 
6
 
 
7
# Check if amulet is installed before adding the stable repository and updating apt-get.
 
8
dpkg -s amulet
 
9
if [ $? -ne 0 ]; then
 
10
    sudo add-apt-repository -y ppa:juju/stable
 
11
    sudo apt-get update -qq
 
12
    sudo apt-get install -y amulet
 
13
fi
 
14
 
 
15
# Install any additional python packages or other required software.
 
16
sudo apt-get install -y python3-requests
 
 
b'\\ No newline at end of file'