atf-sh is an interpreter that runs the test program given in
script after loading the
atf-sh-api(3) library.
atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by the ‘atf_shell' configuration value in
atf-config(1).
atf-sh executes the interpreter, loads the
atf-sh-api(3) library and then runs the script.
Scripts using
atf-sh-api(3) should start with:
The following options are available:
-h
Shows a short summary of all available options and their purpose. For those formats that write to a single file, specifying a ‘-' as the path will redirect the report to the standard output.