Commit 7f1a0e4
committed
rngtest: Improve robustness and ensure correct CI exit codes
- Switch random input collection from cat to dd for reliability.
- Always remove temp files after test run.
- Add consistent exit 0 (PASS) or exit 1 (FAIL) for every outcome.
- Improve error handling on missing dependencies, entropy, and output.
- Log failures for all possible test aborts to aid CI debugging.
Signed-off-by: Srikanth Muppandam <[email protected]>1 parent 3d52665 commit 7f1a0e4
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
92 | | - | |
93 | 95 | | |
0 commit comments