Skip to content

Additional tests#428

Closed
thiagoftsm wants to merge 5 commits intonetdata:masterfrom
thiagoftsm:tests
Closed

Additional tests#428
thiagoftsm wants to merge 5 commits intonetdata:masterfrom
thiagoftsm:tests

Conversation

@thiagoftsm
Copy link
Copy Markdown
Contributor

@thiagoftsm thiagoftsm commented May 4, 2026

Summary

Add unit tests and additional information to socket tests.

Test Plan
  1. Get binaries according to your C library from [this](ADD ACTIONS LINK HERE) link and extract them inside a directory, for example: ../artifacts.
    You can also get everything for glibc [here](UPLOAD FILE WITH ALL BINARIES TO SIMPLIFY REVIEWERS).

  2. Extract them running:

    $ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
    $ for i in `ls *.tar`; do tar -xf $i; rm $i* ; done
  3. Compile branch an run the following tests:

    # make clean; make tester
    # for i in `seq 0 3`; do ./tests/legacy_test --netdata-path ../artifacts --content --iteration 1 --pid $i --log-path file_c_pid$i.txt; done
    # for i in `seq 0 3`; do ./gotests/go_tester --netdata-path ../artifacts --content --iteration 1 --pid $i --log-path file_go_pid$i.txt; done
  4. Every test should ends with Success, unless you do not have a specific target (function) available.

Additional information

This PR was tested on:

Linux Distribution Environment Kernel Version
Slackware Linux Bare metal 6.18.26
Debian 13 VM 6.12.74

@thiagoftsm
Copy link
Copy Markdown
Contributor Author

Closing in favor of #429

@thiagoftsm thiagoftsm closed this May 5, 2026
@thiagoftsm thiagoftsm deleted the tests branch May 5, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant