#! /bin/sh # Vaucanson, a generic library for finite state machines. # Copyright (C) 2008, 2009 The Vaucanson Group. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # The complete GNU General Public Licence Notice can be found as the # `COPYING' file in the root directory. # # The Vaucanson Group consists of people listed in the `AUTHORS' file. . ./defs || exit 1 set -e VCSN=vcsn-int-fmp-z sed '/^#/d' < yl.xml $VCSN is-ltl yl.xml $VCSN ltl-to-pair yl.xml > yp.xml $VCSN pair-to-fmp yp.xml > yl2.xml $VCSN info yl.xml > yl.info $VCSN info yl2.xml > yl2.info diff yl.info yl2.info ## --------------------------- ## ## Test writing data handling. ## ## --------------------------- ## writing_data="CPAR=_A_ OPAR=_B_ PLUS=_C_ SPACE=_D_ STAR=_E_ TIMES=_F_ CWEIGHT=_G_ OWEIGHT=_H_ ZERO=_I_ ONE=_J_ CONCAT=_K_" writing_data1="CPAR=#A# OPAR=#B# PLUS=#C# SPACE=#D# STAR=#E# TIMES=#F# CWEIGHT=#G# OWEIGHT=#H# ZERO=#I# ONE=#J# CONCAT=#K#" writing_data2="CPAR=@A@ OPAR=@B@ PLUS=@C@ SPACE=@D@ STAR=@E@ TIMES=@F@ CWEIGHT=@G@ OWEIGHT=@H@ ZERO=@I@ ONE=@J@ CONCAT=@K@" sed '/^#/d' < wd-new.xml diff wd-new.xml wd-ref.xml # Check predefined alphabets in help. $VCSN --help |fail1 grep predefined