Ensure ASAN_OPTIONS=detect_leaks=0 is set when running rspamc
in proxy test to avoid false positive leak detection, similar
to the fix in commit
8737a72.
echo "Testing via proxy worker ($PROXY_PORT)..."
# Use corpus directory for proxy test too
- rspamc -h "$RSPAMD_HOST:$PROXY_PORT" -n "$PARALLEL" -j \
+ ASAN_OPTIONS=detect_leaks=0 rspamc -h "$RSPAMD_HOST:$PROXY_PORT" -n "$PARALLEL" -j \
"$CORPUS_DIR" > "$DATA_DIR/proxy_results.json" 2>&1
echo "✓ Proxy test complete"
echo "Results saved to $DATA_DIR/proxy_results.json"