]> Savannah Git Hosting - gnulib.git/commit
test-framework-sh: Improve returns_ example.
authorBernhard Voelker <mail@bernhard-voelker.de>
Sun, 4 Aug 2024 16:12:16 +0000 (18:12 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 17:11:34 +0000 (19:11 +0200)
commit73388795b09ecb189974fdf21890fbf4e44ab85d
tree1d6ec78d4dcb11df9304bc94084bdc112c5d1c1a
parent3f690ef4d9a5df56ea3fe545b305d08d955d5b33
test-framework-sh: Improve returns_ example.

In the shell test framework, an error is either flagged by setting
the shell variable fail=1, or by invoking the fail_ function with an
error diagnostic.

* tests/init.sh (returns_): Change example code in the comment to
use '|| fail=1' properly.
ChangeLog
tests/init.sh