Comment 14 for bug 1828228

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Steve, you are right. I was preparing this comment few mins ago:

"""Speaking with Andreas we had the idea to just exit 2 (at least one test was skipped ret code) the test when running in a unprivileged environment. That can be easily tested by changing memlock size limit as root (need-root in test is needed) and checking for return error""" and it goes the same direction as you pointed.

I'll add isolation-machine and skip test if ulimit -H -l can't be done (since w/ need-root it will indicate a unprivileged namespace).

Tks!