ltlcross: detect write errors for --save-bogus, --grind, etc
* bin/ltlcross.cc: Explicitly close those file to check for error conditions. * tests/core/full.test: Add one test.
This commit is contained in:
parent
3805b63e24
commit
addaf7f5b0
2 changed files with 21 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2016 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
# Copyright (C) 2016, 2020 Laboratoire de Recherche et Développement
|
||||
# de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
#
|
||||
|
|
@ -47,6 +47,8 @@ ltlcross -f GFa ltl2tgba --csv=/dev/full && exit 1
|
|||
ltlcross -f GFa ltl2tgba --csv >/dev/full && exit 1
|
||||
ltlcross -f GFa ltl2tgba --json=/dev/full && exit 1
|
||||
ltlcross -f GFa ltl2tgba --json >/dev/full && exit 1
|
||||
ltlcross -f GFa ltl2tgba --save-inclusion-products=/dev/full && exit 1
|
||||
ltlcross -f GFa ltl2tgba --save-inclusion-products=- >/dev/full && exit 1
|
||||
ltldo ltl2tgba -f GFa >/dev/full && exit 1
|
||||
ltldo ltl2tgba -f GFa --output=- >/dev/full && exit 1
|
||||
ltldo ltl2tgba -f GFa --output=/dev/full && exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue