PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/test-language-11.in

#
Autoconf | 45 lines | 14 code | 10 blank | 21 comment | 3 complexity | 9cf2cfc25a33da687b3bc4960a07ce15 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
30
31mainmenu MENU_TEST_5
32
33menu "MENU 1"
34     depends on OP1 = OP2
35     requires OP3 && OP4
36
37     menu MENU_2
38     	  depends !OP5
39     endmenu
40endmenu
41EOF
42
43$CHOICETOOL -i ./choose.ct || exit 1
44
45exit 0