#!/bin/sh # -*- coding: utf-8 -*- # Copyright (C) 2015, 2016 Laboratoire de Recherche et Developpement # de l'Epita # # This file is part of Spot, a model checking library. # # Spot 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 3 of the License, or # (at your option) any later version. # # Spot is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public # License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . . ./defs set -e autfilt=autfilt cat >in <expected < sep cat out.t sep out.w sep out.s sep out.tw sep out.ws sep out.tws > out cat >expected < out2 cat >expected2 < out3 diff out3 expected2 test 2 = `autfilt -c --sccs=4 out` test 5 = `autfilt -c --sccs=2 out` test 1 = `autfilt -c -v --inherently-weak-sccs=1.. out` test 2 = `autfilt -c --weak-sccs=2 out` test 14 = `autfilt -c --terminal-sccs=1 out` test 2 = `autfilt -c --terminal-sccs=1 --inherently-weak-sccs=2 out` test 4 = `autfilt -c --rejecting-sccs=1 --accepting-sccs=1 out` test 0 = `autfilt -c --trivial-sccs=1.. out`