~ubuntu-branches/ubuntu/saucy/charm-tools/saucy

« back to all changes in this revision

Viewing changes to tests/proof/record.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
#
 
3
# Run this with 'expected' as the argument to update the
 
4
# expected dir which should be stored in version control.
 
5
#
 
6
# test.sh will run it with 'results' and diff the two when
 
7
# running tests.
 
8
#
 
9
home=`dirname $0`
 
10
test_charms=$home/../charms
 
11
rm -f $home/$1/*
 
12
for i in $test_charms/* ; do
 
13
    $home/../../scripts/proof $i > $home/$1/`basename $i`
 
14
done