fix test yaml

This commit is contained in:
octeep 2023-05-22 17:22:28 +01:00
parent 913319320e
commit cb2019b8f9
No known key found for this signature in database
GPG key ID: 2EFF053CB733B81C

View file

@ -34,5 +34,5 @@ jobs:
- name: Test http with password
run: curl --proxy http://peter:hunter123@localhost:64424 http://zx2c4.com/ip | grep -q "demo.wireguard.com"
- name: Test http with wrong password
run: ! curl --proxy http://peter:wrongpass@localhost:64424 http://zx2c4.com/ip
run: bash -c "! curl --proxy http://peter:wrongpass@localhost:64424 http://zx2c4.com/ip"