summaryrefslogtreecommitdiffabout
path: root/tests/testsuite.at
blob: c788193af5ff52ac7021e1af4543d4a0907e6775 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# This file is part of GDBM.                                   -*- autoconf -*-
# Copyright (C) 2011, 2017-2019 Free Software Foundation, Inc.
#
# GDBM is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GDBM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */

m4_version_prereq([2.52g])

m4_define([AT_SKIP_TEST],[exit 77])

dnl AT_SORT_PREREQ - Skip test if sort utility outputs unwanted data on stderr
m4_define([AT_SORT_PREREQ],[
test -z "`sort < /dev/null 2>&1`" || AT_SKIP_TEST
])

m4_define([AT_COMPAT_PREREQ],[
test $COMPAT -eq 1 || AT_SKIP_TEST
])

dnl # Begin tests

AT_INIT
m4_include([version.at])

AT_BANNER([GDBM interface])

m4_include([create00.at])

m4_include([fetch00.at])
m4_include([fetch01.at])

m4_include([delete00.at])
m4_include([delete01.at])
m4_include([delete02.at])

m4_include([closerr.at])

AT_BANNER([Block size selection])
m4_include([blocksize00.at])
m4_include([blocksize01.at])
m4_include([blocksize02.at])

AT_BANNER([Compatibility library (dbm/ndbm)])

m4_include([dbmcreate00.at])

m4_include([dbmcvt.at])

m4_include([dbmfetch00.at])
m4_include([dbmfetch01.at])
m4_include([dbmfetch02.at])
m4_include([dbmfetch03.at])

m4_include([dbmdel00.at])
m4_include([dbmdel01.at])
m4_include([dbmdel02.at])

AT_BANNER([DB options])

m4_include([setopt00.at])
m4_include([setopt01.at])

AT_BANNER([Cloexec])

m4_include([cloexec00.at])
m4_include([cloexec01.at])
m4_include([cloexec02.at])
m4_include([cloexec03.at])

AT_BANNER([gdbmtool])
m4_include([gdbmtool00.at])
m4_include([gdbmtool01.at])
m4_include([gdbmtool02.at])
m4_include([gdbmtool03.at])

# End of testsuite.at

Return to:

Send suggestions and report system problems to the System administrator.