* iface/gspn/udcsltl.test, iface/gspn/udcseltl.test,

iface/gspn/dcswaveltl.test, iface/gspn/dcswaveeltl.test,
iface/gspn/dcswavefm.test: Do not accept $? = 0 when
a failure is expected.
This commit is contained in:
Alexandre Duret-Lutz 2003-10-01 16:55:22 +00:00
parent cc0efd8904
commit 694ce34bc5
7 changed files with 27 additions and 23 deletions

View file

@ -2,14 +2,12 @@
. ./defs || exit 1
set -e
cp -R $srcdir/examples/DCSwave .
chmod +w DCSwave
# G(ATTiIDLj => F(!SCj U SCi)) is true
../ltlgspn-srg DCSwave/DCSWave '!G(ATTiIDLj => F(!SCj U SCi))' ATTiIDLj SCi SCj > output
../ltlgspn-srg DCSwave/DCSWave '!G(ATTiIDLj => F(!SCj U SCi))' ATTiIDLj SCi SCj > output || exit 1
# G(F(!SCj U SCi)) is false
../ltlgspn-srg DCSwave/DCSWave '!G(F(!SCj U SCi))' ATTiIDLj SCi SCj > output \
|| test $? = 1
../ltlgspn-srg DCSwave/DCSWave '!G(F(!SCj U SCi))' ATTiIDLj SCi SCj > output
test $? = 1 || exit 1