summaryrefslogtreecommitdiff
path: root/tests/gnits.test
blob: f7895ed656495458753e00cbdbd011fea35de574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh

# Test to ensure --gnits version checking is correct.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=3.5.3.2
AC_OUTPUT(Makefile)
END

cat > Makefile.am << 'END'
pkgdata_DATA =
END

# Files required by Gnits.
: > INSTALL
: > NEWS
: > README
: > COPYING
: > AUTHORS
: > ChangeLog
: > THANKS

$ACLOCAL || exit 1
$AUTOMAKE --gnits && exit 1
exit 0