~ubuntu-branches/ubuntu/precise/texinfo/precise

« back to all changes in this revision

Viewing changes to install-info/tests/ii-0005-test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-03-09 15:50:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090309155003-3k9a07mt2jqnuudg
Tags: 4.13a.dfsg.1-1
* new upstream releases (Closes: #500301)
  - fix (wrongly) added leading spaces in direntries (Closes: #457741)
  -  work with ~ in th epath (Closes: #495577)
  - disable the patch fix-direntry and fix-texi2dvi-bashism, 
    included upstream
* update the list of files to be installed (new translations, pdftexi2dvi)
* mange version in the watch file to remove the .dfsg.N part
* use quilt.make (first step in direction of source format 3.0, but that
  is broken)
* add README.Debian to info package (Closes: #513187)
* add README.source, bump standards version to 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# This file is free software; as a special exception the author gives
 
3
# unlimited permission to copy and/or distribute it, with or without
 
4
# modifications, as long as this notice is preserved.
 
5
#
 
6
# This program is distributed in the hope that it will be useful, but
 
7
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 
8
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
9
 
 
10
. ./defs || exit 1
 
11
 
 
12
outputdirfile=`mktemp ii05-XXXXXXXX`
 
13
cp ${testdir}/ii-0005-input-dir-file $outputdirfile
 
14
if [ "x$?" != "x0" ]; then
 
15
  exit 1
 
16
fi
 
17
 
 
18
${install_info} ${testdir}/ii-0005-input-info-file $outputdirfile
 
19
retval=$?
 
20
if [ "x$retval" != "x0" ]; then
 
21
  exit $retval
 
22
fi
 
23
 
 
24
diff ${testdir}/ii-0005-expected-dir-file $outputdirfile
 
25
retval=$?
 
26
 
 
27
rm -f $outputdirfile
 
28
exit $retval