Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
b7a855be
Commit
b7a855be
authored
2 years ago
by
Timur Safin
Committed by
Kirill Yukhin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
test: make sio.test tap-compatible
Part of #7618 NO_DOC=internal NO_CHANGELOG=internal
parent
c823fc26
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/unit/sio.c
+3
-1
3 additions, 1 deletion
test/unit/sio.c
test/unit/sio.result
+0
-36
0 additions, 36 deletions
test/unit/sio.result
with
3 additions
and
37 deletions
test/unit/sio.c
+
3
−
1
View file @
b7a855be
...
...
@@ -28,13 +28,15 @@
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include
"unit.h"
#include
"memory.h"
#include
"fiber.h"
#include
<sys/un.h>
#include
<arpa/inet.h>
#include
"sio.h"
#define UNIT_TAP_COMPATIBLE 1
#include
"unit.h"
static
void
check_uri_to_addr
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
test/unit/sio.result
deleted
100644 → 0
+
0
−
36
View file @
c823fc26
*** main ***
1..2
*** check_uri_to_addr ***
1..22
ok 1 - invalid uri is detected
ok 2 - too long UNIX path
ok 3 - UNIX
ok 4 - UNIX path
ok 5 - UNIX family
ok 6 - unix host is not empty
ok 7 - localhost
ok 8 - localhost family
ok 9 - localhost address
ok 10 - localhost port
ok 11 - 'localhost' host is not empty
ok 12 - 'any'
ok 13 - 'any' family
ok 14 - 'any' address
ok 15 - 'any' port
ok 16 - only port specified - host is empty
ok 17 - IP
ok 18 - IP family
ok 19 - IP address
ok 20 - IP port
ok 21 - IPv4 host is not empty
ok 22 - invalid IP
ok 1 - subtests
*** check_uri_to_addr: done ***
*** check_auto_bind ***
1..3
ok 1 - bind to 0 works
ok 2 - getsockname works on 0 bind
ok 3 - a real port is returned
ok 2 - subtests
*** check_auto_bind: done ***
*** main: done ***
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment