Hi Alexey<div id="yMail_cursorElementTracker_1493953464620"><br></div><div id="yMail_cursorElementTracker_1493953467558">I've realized that tst_brk did not exist immediately and it makes the return value become 36, while we need 32. cleanup() does not need to run in this case.</div><div id="yMail_cursorElementTracker_1493953603779"><br></div><div id="yMail_cursorElementTracker_1493953603779"><br></div><div id="yMail_cursorElementTracker_1493953609988"><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span id="yMail_cursorElementTracker_1493953219550" style="font-size: 10pt;">root@mx6q:~# ./setpriority01</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">tst_test.c:847: INFO: Timeout per run is 0h 05m 00s</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">setpriority01.c:120: CONF: /etc/passwd is not accessible</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">userdel: user 'ltp_setpriority01' does not exist</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">setpriority01.c:133: WARN: 'userdel -r ltp_setpriority01' failed: ENOENT</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;"> </span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">Summary:</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">passed   0</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">failed   0</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">skipped  0</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">warnings 1</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;">root@mx6q:~# echo $?</span></p><p class="yiv3084998343MsoNormal" style="font-family: sans-serif;"><span style="font-size: 10pt;" id="yMail_cursorElementTracker_1493953606739">36</span></p><div id="yMail_cursorElementTracker_1493953608071"><br></div>Could you please to check it again?</div><div id="yMail_cursorElementTracker_1493953620146"><br></div><div id="yMail_cursorElementTracker_1493953621333">Thanks and regards,</div><div id="yMail_cursorElementTracker_1493953630074"><br></div><div id="yMail_cursorElementTracker_1493953630718">Hoang</div><div id="yMail_cursorElementTracker_1493953627396"><br><div id="ymail_android_signature"><br></div> <br> <blockquote style="margin: 0 0 20px 0;"> <header style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Tue, Apr 11, 2017 at 16:46, Alexey Kodanev</div><div><alexey.kodanev@oracle.com> wrote:</div> </header> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> Hi,<div class="yqt7517161222 yQTDBase" id="yqtfd64511"><br clear="none">On 09.04.2017 11:38, <a shape="rect" ymailto="mailto:the_hoang0709@yahoo.com" href="mailto:the_hoang0709@yahoo.com">the_hoang0709@yahoo.com</a> wrote:<br clear="none">> Return 32 if /etc/passwd is read-only.<br clear="none">> Fixes: #137<br clear="none">> See also: #88</div><br clear="none"><br clear="none">Applied both patches, thanks! Modified the last one a little bit:<br clear="none">added __GNU_SOURCE foreaccess() and renamed tst_brkm() to<br clear="none">tst_brk() as the test converted to newer LTP API.<br clear="none"><br clear="none">Thanks,<br clear="none">Alexey<div class="yqt7517161222 yQTDBase" id="yqtfd61868"><br clear="none"><br clear="none"></div> </div> </blockquote></div>