~ubuntu-branches/ubuntu/lucid/xplanet/lucid

« back to all changes in this revision

Viewing changes to test/00/t0011a.sh

  • Committer: Bazaar Package Importer
  • Author(s): Gopal Narayanan
  • Date: 2002-04-08 11:27:33 UTC
  • Revision ID: james.westby@ubuntu.com-20020408112733-z0w5kf47juap31jj
Tags: 0.94-1
* New upstream release
* Upstream fixes satfile problem reported by Jean-Philippe Guerard
  <jean-philippe.guerard@laposte.net>. Closes: #130770
* Added Japanese translation for debconf. Thanks Tomohiro KUBOTA
  <tkubota@riken.go.jp>. Closes: #137292

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# test for lintian clean package
 
4
 
5
 
 
6
here=$(pwd)
 
7
 
 
8
if [ $? -ne 0 ]; then exit 1; fi
 
9
 
 
10
fail()
 
11
{
 
12
 
 
13
    echo FAILED 1>&2
 
14
    cd $here
 
15
    rm -fr $tmp
 
16
    exit 1
 
17
 
 
18
}
 
19
 
 
20
pass()
 
21
{
 
22
 
 
23
    cd $here
 
24
    rm -fr $tmp
 
25
    exit 0
 
26
 
 
27
}
 
28
 
 
29
trap "fail" 1 2 3 15
 
30
 
 
31
# Run lintian
 
32
 
 
33
lintian $here/../xplanet_$(dpkg-parsechangelog | grep "^Version: " | sed -e "s/Version: \(.*\)/\1/")_$(dpkg --print-architecture).deb
 
34
if [ $? -ne 0 ]; then fail; fi
 
35
 
 
36
pass