test: ignore OpenBSD's "Terminated" messages
For #501. * tests/core/autcross4.test: Here.
This commit is contained in:
parent
3e2201bd80
commit
d6b3c757d0
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2018, 2019 Laboratoire de Recherche et Développement de
|
||||
# Copyright (C) 2018, 2019, 2022 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -85,7 +85,9 @@ autcross -T3 -q --language-preserved --ignore-execution-failures \
|
|||
--fail-on-timeout \
|
||||
'sleep 10; autfilt %H>%O' 'false %H %O' 2>err -Fin && exit 1
|
||||
cat err
|
||||
test 4 = `wc -l <err`
|
||||
# OpenBSD prints "Terminated" when the shell running the command is
|
||||
# killed. See issue #501.
|
||||
test 4 = `grep -v Terminated err | wc -l`
|
||||
test 1 = `wc -l < out.csv`
|
||||
|
||||
autcross - 2> err && exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue