forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system-traffic: Fix syntax errors in FTP and IPv6 curl calls.
The system testsuite is broken due to syntax errors: 1. Misplaced parenthesis, like: NS_CHECK_EXEC[at_ns0], (OVS_GET_FTP_ACTIVE... NS_CHECK_EXEC([at_ns0], OVS_GET_FTP([[[fc00::2]]]), [--ipv6]), [0], ... at-groups/122/test-source: line 757: syntax error near unexpected token `curl' at-groups/122/test-source: line 757: `at_ns0, (curl ftp://10.1.1.2 --retry 3 --max-time 1 --retry-connrefused -v \' system-kmod-testsuite: WARNING: unable to parse test group: 122 2. Insufficient escaping of brackets around IPv6 addresses. It must be 4 brackets to survive double macro expansion. curl ftp://fc00::2 --retry 3 ... curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 3. OVS_GET_FTP macro is missing a line continuation: sh: 2: -v: not found Interestingly enough, when a testsuite fails with syntax errors, there are no tests to re-check, so recheck succeeds and so the jobs are green in GitHub Actions, even if they are not actually running a lot of tests. While at it, adjusting formatting in OVS_GET_FTP_ACTIVE to match other macros. Fixes: 6bafaeb ("system-traffic: Replace wget with curl for negative and ftp tests.") Acked-by: Eelco Chaudron <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters