~james-page/ubuntu-test-cases/server-drop-floodlight

« back to all changes in this revision

Viewing changes to testsuites/lxc/test_lxc_api/test.sh

  • Committer: Serge Hallyn
  • Date: 2013-09-24 15:02:02 UTC
  • Revision ID: serge.hallyn@canonical.com-20130924150202-wbxu5e1h7tdl3z0e
lxc_test_api: run from the actual current release's package

We were running from the raring source tree before, but the API has
changed since then, so it now fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
# any more.
40
40
rm -rf lxc
41
41
 
42
 
# package importer is broken right now
43
 
#bzr branch ubuntu:lxc
44
 
bzr branch lp:ubuntu/raring/lxc
 
42
# we'll probably need to add -updates if not in latest release
 
43
r=$(awk -F= '/CODENAME/ {print $2}' /etc/lsb-release)
 
44
x=$(rmadison -s ${r}-updates lxc)
 
45
if [ -n "$x" ]; then
 
46
        r=${r}-updates
 
47
fi
 
48
pull-lp-source lxc $r
45
49
 
46
50
cd lxc
47
51
#debian/rules build