lx(awg): ranged-header check fixture + CI wiring

awg2_ranged.json (fake keys) exercises ranged H1-H4 through sing-box
check; wire it into the positive and negative CI checks alongside
awg2_basic.json.
This commit is contained in:
Leadaxe
2026-06-11 01:43:37 +03:00
parent 4140da6da5
commit 83d6b371fe
2 changed files with 59 additions and 1 deletions
+3 -1
View File
@@ -89,6 +89,7 @@ jobs:
run: |
./sing-box check -c lx-test/config/xhttp_reality.json
./sing-box check -c lx-test/config/awg2_basic.json
./sing-box check -c lx-test/config/awg2_ranged.json
- name: Build baseline (no lx features) for the negative check
run: make -f Makefile.lx lx-build LX_TAGS="${BASE_TAGS}" LX_OUTPUT=sing-box-baseline
@@ -101,7 +102,8 @@ jobs:
set +e
./sing-box-baseline check -c lx-test/config/xhttp_reality.json; x=$?
./sing-box-baseline check -c lx-test/config/awg2_basic.json; a=$?
if [ $x -eq 0 ] || [ $a -eq 0 ]; then
./sing-box-baseline check -c lx-test/config/awg2_ranged.json; r=$?
if [ $x -eq 0 ] || [ $a -eq 0 ] || [ $r -eq 0 ]; then
echo "FAIL: a feature config was accepted without its build tag"; exit 1
fi
echo "OK: xhttp/awg configs correctly rejected without their tags"