mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
Improve the GNU doc when a test uses $fail
This commit is contained in:
parent
346902e30b
commit
bfaf7616e2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue