Commit 858afc6
committed
fix(test): fail loudly on root with cfg escape hatch for fs_errors
Instead of silently skipping, panic with an actionable error message
when running as root. The test can be excluded entirely via
`RUSTFLAGS='--cfg pdu_test_skip_fs_errors'` for environments like
Claude Code Web where root is unavoidable.
https://claude.ai/code/session_01Ki7wbrgQXWs2GXf8h2hybQ1 parent 94aaf33 commit 858afc6
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| |||
0 commit comments