aboutsummaryrefslogtreecommitdiff
path: root/tests/setopt00.at
blob: 04f02293f52c9a52419b9843b31bc52ceab09412 (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
# This file is part of GDBM.                                   -*- autoconf -*-
# Copyright (C) 2011, 2017-2018 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/>. */

AT_SETUP([setopt])
AT_KEYWORDS([setopt setopt00])

AT_CHECK([
num2word 1:1000 | gtload test.db || exit 2
gtopt test.db '!MMAP'
],
[0],
[GDBM_GETFLAGS: PASS
* CACHESIZE:
initial GDBM_SETCACHESIZE: PASS
GDBM_GETCACHESIZE: PASS
second GDBM_SETCACHESIZE: XFAIL
* SYNCMODE:
initial GDBM_GETSYNCMODE: PASS
GDBM_SETSYNCMODE: PASS
GDBM_GETSYNCMODE: PASS
GDBM_SETSYNCMODE true: PASS
GDBM_GETSYNCMODE: PASS
GDBM_SETSYNCMODE false: PASS
GDBM_GETSYNCMODE: PASS
* CENTFREE:
initial GDBM_GETCENTFREE: PASS
GDBM_SETCENTFREE: PASS
GDBM_GETCENTFREE: FAIL
GDBM_SETCENTFREE true: PASS
GDBM_GETCENTFREE: FAIL
GDBM_SETCENTFREE false: PASS
GDBM_GETCENTFREE: FAIL
* COALESCEBLKS:
initial GDBM_GETCOALESCEBLKS: PASS
GDBM_SETCOALESCEBLKS: PASS
GDBM_GETCOALESCEBLKS: PASS
GDBM_SETCOALESCEBLKS true: PASS
GDBM_GETCOALESCEBLKS: PASS
GDBM_SETCOALESCEBLKS false: PASS
GDBM_GETCOALESCEBLKS: PASS
GDBM_GETDBNAME: PASS
])

AT_CLEANUP




Return to:

Send suggestions and report system problems to the System administrator.