mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-10-27 17:54:30 +00:00
POSIX explicitly requires "set -e" to NOT treat "! cmd" as an error even if fails[1]: > The -e setting shall be ignored when executing the compound list > following the while, until, if, or elif reserved word, *a pipeline > beginning with the ! reserved word*, or any command of an AND-OR list > other than the last. *[emphasis added]* And bash has similar documentation on this behaviour[2]. This means that our tests were completely ineffective at detecting error codes from gomtree, and as a result we did not detect the regression in commit |
||
|---|---|---|
| .. | ||
| 0001.sh | ||
| 0001a.sh | ||
| 0002.sh | ||
| 0003.sh | ||
| 0004.sh | ||
| 0005.sh | ||
| 0006.sh | ||
| 0007.sh | ||
| 0008.sh | ||
| 0009.sh | ||
| 0010.sh | ||
| 0011.sh | ||