Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getloginrtest wont work #40

Open
lattice0 opened this issue Aug 31, 2019 · 1 comment
Open

getloginrtest wont work #40

lattice0 opened this issue Aug 31, 2019 · 1 comment

Comments

@lattice0
Copy link

jrtplib_test_feature(getloginrtest RTP_SUPPORT_GETLOGINR FALSE "// Not using getlogin_r" "${TESTDEFS}")

fails

getloginrtest.cpp compiles on docker, but won't run on docker, because there's no user

I even tried setting an user, but it won't work

@j0r1
Copy link
Owner

j0r1 commented Sep 1, 2019

I don't understand the problem. In the CMakeLists.txt, jrtplib_test_feature only checks if it compiles, not that it runs.

Is the problem that your program does compile, but that it can't create an RTPSession because there's no user? In that case, either set the LOGNAME environment variable, or force the entire CNAME using the session parameters.

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

No branches or pull requests

2 participants