PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/test-language-21.in

#
Autoconf | 43 lines | 14 code | 8 blank | 21 comment | 2 complexity | 886293f001af77b82615602ae32026f9 MD5 | raw file
 1#! @SHELL@
 2
 3#
 4# Copyright (C) 2008, 2009 Francesco Salvestrini
 5#                          Alessandro Massignan
 6#
 7# This program is free software; you can redistribute it and/or modify
 8# it under the terms of the GNU General Public License as published by
 9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License along
18# with this program; if not, write to the Free Software Foundation, Inc.,
19# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20#
21
22# Test to ensure that parsing of lkc configuration is working
23# Report from Francesco Salvestrini
24
25required=""
26
27. $testdir/defs || exit 1
28
29cat > ./choose.ct <<EOF
30mainmenu CHOICE_TEST_4
31
32choice
33       bool
34       tristate
35       string
36       int
37       hex
38endchoice
39EOF
40
41$CHOICETOOL -i ./choose.ct || exit 1
42
43exit 0