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

/tests/test-language-20.in

#
Autoconf | 40 lines | 11 code | 8 blank | 21 comment | 2 complexity | 54df0a72e9108dfd91ff230cd6142325 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_3
31
32choice
33       prompt PROMPT_1
34       prompt "PROMPT 1"
35endchoice
36EOF
37
38$CHOICETOOL -i ./choose.ct || exit 1
39
40exit 0