1 # This file is part of GDBM. -*- autoconf -*-
2 # Copyright (C) 2011 Free Software Foundation, Inc.
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)
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.
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/>. */
17 AT_SETUP([create database])
18 AT_KEYWORDS([gdbm create create00])
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