This commit is contained in:
octeep 2023-05-22 17:42:05 +01:00
parent 80898e2348
commit e9f9cf6a1d
No known key found for this signature in database
GPG key ID: 2EFF053CB733B81C

View file

@ -34,4 +34,6 @@ jobs:
- name: Test http with password - name: Test http with password
run: curl --proxy http://peter:hunter123@localhost:64424 http://zx2c4.com/ip | grep -q "demo.wireguard.com" run: curl --proxy http://peter:hunter123@localhost:64424 http://zx2c4.com/ip | grep -q "demo.wireguard.com"
- name: Test http with wrong password - name: Test http with wrong password
run: bash -c "! curl --proxy http://peter:wrongpass@localhost:64424 http://zx2c4.com/ip" run: |
curl -s --fail --proxy http://peter:hunter123@localhost:64425 http://zx2c4.com/ip
if [[ $? == 0 ]]; then exit 1; fi