~ubuntu-branches/ubuntu/precise/exif/precise

« back to all changes in this revision

Viewing changes to test/check-help.sh

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Bouthenot
  • Date: 2011-04-27 18:49:37 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110427184937-w06h1y3xdcdziz3w
Tags: 0.6.20-1
* New upstream release (Closes: #552102)
* debian/copyright:
  - updates (huge backlog) (Closes: #613485)
  - switch to DEP5 format
* Update uploader email (me)
* Refresh patches and convert them to DEP3 format
* Bump Standards-Version to 3.9.2
* Remove DMUA field (no more needed)
* Bump the B-D on libexif-dev to >= 0.6.20 since this version is now
  required.
* Remove B-D on chrpath (no more needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Test that --help output is sane
 
3
 
 
4
. ./check-vars.sh
 
5
 
 
6
# Run this in the C locale so the messages are known
 
7
export LANG=C
 
8
export LANGUAGE=C
 
9
 
 
10
# If these random help strings are found, the rest are probably also there
 
11
$EXIFEXE --help | grep '^  -c, --create-exif               Create EXIF data if not existing$' >/dev/null
 
12
test $? -eq 0 || exit 1
 
13
 
 
14
$EXIFEXE -\? | grep '^  -r, --remove-thumbnail          Remove thumbnail$' >/dev/null
 
15
test $? -eq 0 || exit 1
 
16