| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
tests: move test_depends* to fuzz/depends and embed debug_solve.sh Problem/Purpose: - test_depends.py is a fuzz testing tool, move to tests/fuzz/ for consistency - rename to depends.py for simpler naming (already in fuzz/ dir) - rename whitelist to whitelist.txt (simpler) - debug_solve.sh is a helper for depends.py, embed it as --debug mode Solution: - git mv tests/test_depends.py tests/fuzz/depends.py - git mv tests/test_depends-whitelist.txt tests/fuzz/whitelist.txt - remove tests/debug_solve.sh and embed its functionality as --debug mode - --debug --os=<OS> <pkg> [--grep=<pkg>] for debug mode - update whitelist path references in depends.py and pir.py Usage: tests/fuzz/depends.py # fuzz test tests/fuzz/depends.py --debug --os=fedora vtk # debug mode tests/fuzz/depends.py --debug --os=fedora vtk --grep=hdf5 # debug + grep Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn> | 3 个月前 | |
tests: improve PIR fuzz test compatibility and error handling Problem/Purpose: - PIR fuzz test failed when .epkg/cache are tmpfs mounts (not symlinks) - Transient network errors counted as failures - tor-gencert shows help but returns exit code 1 (upstream behavior) - fc-cache post-install script failures counted as errors Solution: - Accept tmpfs mount as valid alternative to symlink for .epkg - Accept actual cache directory when CACHE_DIR points to it - Ignore "Network unreachable" errors in whitelist - Ignore "File size mismatch after write" errors during concurrent download - Add tor-gencert to exe_whitelist (shows syntax help, exit code 1) - Add "failed to write cache" to whitelist (fc-cache post-install failure) Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn> | 3 个月前 | |
tests: improve PIR fuzz test compatibility and error handling Problem/Purpose: - PIR fuzz test failed when .epkg/cache are tmpfs mounts (not symlinks) - Transient network errors counted as failures - tor-gencert shows help but returns exit code 1 (upstream behavior) - fc-cache post-install script failures counted as errors Solution: - Accept tmpfs mount as valid alternative to symlink for .epkg - Accept actual cache directory when CACHE_DIR points to it - Ignore "Network unreachable" errors in whitelist - Ignore "File size mismatch after write" errors during concurrent download - Add tor-gencert to exe_whitelist (shows syntax help, exit code 1) - Add "failed to write cache" to whitelist (fc-cache post-install failure) Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn> | 3 个月前 | |
tests: improve PIR fuzz test compatibility and error handling Problem/Purpose: - PIR fuzz test failed when .epkg/cache are tmpfs mounts (not symlinks) - Transient network errors counted as failures - tor-gencert shows help but returns exit code 1 (upstream behavior) - fc-cache post-install script failures counted as errors Solution: - Accept tmpfs mount as valid alternative to symlink for .epkg - Accept actual cache directory when CACHE_DIR points to it - Ignore "Network unreachable" errors in whitelist - Ignore "File size mismatch after write" errors during concurrent download - Add tor-gencert to exe_whitelist (shows syntax help, exit code 1) - Add "failed to write cache" to whitelist (fc-cache post-install failure) Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn> | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 |