diff mbox series

[1/3] doc/C-Test-API: Reword SAFE_CMD()

Message ID 20231103123427.1072050-2-pvorel@suse.cz
State Accepted
Headers show
Series Minor programming doc improvements | expand

Commit Message

Petr Vorel Nov. 3, 2023, 12:34 p.m. UTC
Signed-off-by: Petr Vorel <pvorel@suse.cz>
 doc/C-Test-API.asciidoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series


diff --git a/doc/C-Test-API.asciidoc b/doc/C-Test-API.asciidoc
index dab811564..f9f20bb74 100644
--- a/doc/C-Test-API.asciidoc
+++ b/doc/C-Test-API.asciidoc
@@ -1332,8 +1332,9 @@  return value is '255' if 'execvp()' failed with 'ENOENT' and '254' otherwise.
 'stdout_path' and 'stderr_path' determine where to redirect the program
 stdout and stderr I/O streams.
-The 'SAFE_CMD()' macro can be used automatic handling non-zero exits (exits
-with 'TBROK') and 'ENOENT' (exits with 'TCONF').
+'SAFE_CMD()' is a wrapper for 'tst_cmd()' which can be used for automatic
+handling non-zero exit (exits with 'TBROK') and 'ENOENT' (the program not in
+'$PATH', exits with 'TCONF').