diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e5b62f..1d65440 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,12 +104,14 @@ jobs: - name: rustunnel generate --help run: cargo run --release -- generate --help - name: Invalid command fails + shell: bash run: | if cargo run --release -- invalid-cmd 2>&1; then echo "ERROR: invalid command should have failed" exit 1 fi - name: Invalid port fails + shell: bash run: | if cargo run --release -- listen --listen localhost:bad --cert x --key x --ca-cert x --auth-token x 2>&1; then echo "ERROR: invalid port should have failed"