mirror of
https://github.com/uutils/coreutils
synced 2024-10-02 22:13:37 +00:00
Improve the GNU doc when a test uses $fail
This commit is contained in:
parent
346902e30b
commit
bfaf7616e2
|
@ -385,6 +385,7 @@ To improve the GNU compatibility, the following process is recommended:
|
|||
1. Start to modify `<your test>` to understand what is wrong. Examples:
|
||||
1. Add `set -v` to have the bash verbose mode
|
||||
1. Add `echo $?` where needed
|
||||
1. When the variable `fail` is used in the test, `echo $fail` to see when the test started to fail
|
||||
1. Bump the content of the output (ex: `cat err`)
|
||||
1. ...
|
||||
1. Or, if the test is simple, extract the relevant information to create a new test case running both GNU & Rust implementation
|
||||
|
|
Loading…
Reference in a new issue