add changelog
[platform/upstream/gdbm.git] / tests / create00.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 AT_SETUP([create database])
18 AT_KEYWORDS([gdbm create create00])
19
20 AT_CHECK([
21 AT_SORT_PREREQ
22 num2word 1:1000 > input
23 gtload test.db < input
24 gtdump test.db | sort -k1,2 -n > output
25 cmp -s input output || diff -u input output
26 ])
27
28 AT_CLEANUP
29