]> 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 16:13:12 +0000 (18:13 +0200)
commit88046e40d598e7e9a2f0827b187087fd65173a48
treed61f05a20b1639a6a55cc57f2b390aec82231bee
parent3a4c1255d3f6cdd2058fb870b4e0fd864e04d693
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