add changelog
[platform/upstream/gdbm.git] / tests / testsuite.at
1 # This file is part of GDBM.                                   -*- autoconf -*-
2 # Copyright (C) 2011 Free Software Foundation, Inc.
3 #
4 # GDBM is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
8 #
9 # GDBM is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
16
17 m4_version_prereq([2.52g])
18
19 m4_define([AT_SKIP_TEST],[exit 77])
20
21 dnl AT_SORT_PREREQ - Skip test if sort utility outputs unwanted data on stderr
22 m4_define([AT_SORT_PREREQ],[
23 test -z "`sort < /dev/null 2>&1`" || AT_SKIP_TEST
24 ])
25
26 m4_define([AT_COMPAT_PREREQ],[
27 test $COMPAT -eq 1 || AT_SKIP_TEST
28 ])
29
30 dnl # Begin tests
31
32 AT_INIT
33 m4_include([version.at])
34
35 AT_BANNER([GDBM interface])
36
37 m4_include([create00.at])
38
39 m4_include([fetch00.at])
40 m4_include([fetch01.at])
41
42 m4_include([delete00.at])
43 m4_include([delete01.at])
44 m4_include([delete02.at])
45
46 AT_BANNER([Compatibility library (dbm/ndbm)])
47
48 m4_include([dbmcreate00.at])
49
50 m4_include([dbmcvt.at])
51
52 m4_include([dbmfetch00.at])
53 m4_include([dbmfetch01.at])
54 m4_include([dbmfetch02.at])
55 m4_include([dbmfetch03.at])
56
57 m4_include([dbmdel00.at])
58 m4_include([dbmdel01.at])
59 m4_include([dbmdel02.at])
60
61 AT_BANNER([DB options])
62
63 m4_include([setopt00.at])
64 m4_include([setopt01.at])
65
66 AT_BANNER([Cloexec])
67
68 m4_include([cloexec00.at])
69 m4_include([cloexec01.at])
70 m4_include([cloexec02.at])
71 m4_include([cloexec03.at])
72
73 # End of testsuite.at