~ubuntu-branches/ubuntu/quantal/charm-tools/quantal

« back to all changes in this revision

Viewing changes to tests/proof/test.sh

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-07-23 13:52:08 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120723135208-55bdkt9jj6kthm47
Tags: 0.3+151-0ubuntu1
* New upstream release.
* build-dep on python-yaml so charm proof tests can be run.
* buid-dep on python-apt and python-cheetah to enable new upstream
  tests.
* d/charm-tools.install: Install etc/* to pick up bash completion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
home=`dirname $0`
 
3
sh $home/record.sh results
 
4
if ! diff -ur $home/expected $home/results ; then
 
5
    echo "Differences detected (see above). Abort!"
 
6
    exit 1
 
7
fi
 
8
echo Results match expected output. Removing results dir.
 
9
rm -f $home/results/*
 
10
echo
 
11
echo PASS
 
12
echo