]> 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)
committerBernhard Voelker <mail@bernhard-voelker.de>
Mon, 5 Aug 2024 07:14:55 +0000 (09:14 +0200)
commitff7367f9e2c0f1c24e60011e5d6fa5a28e502eb3
tree4621790332f89a41f030c390e02f9d3a8460d83e
parent27aad5e373b349a1d05fcaee0a15432d6e38cbde
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