<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>yes, I have tested it on a system like you describe but I receive
a positive output:</p>
<p>tst_kconfig.c:62: <font color="#33ccff">INFO:</font> Parsing
kernel config '/proc/config.gz'<br>
tst_test.c:1111: <font color="#33ccff">INFO:</font> Timeout per
run is 0h 05m 00s<br>
tst_kconfig.c:62: <font color="#33ccff">INFO:</font> Parsing
kernel config '/proc/config.gz'<br>
acct02.c:159: <font color="#33ccff">INFO:</font> Verifying using
'struct acct'<br>
acct02.c:137: <font color="#33ccff">INFO:</font> Number of
accounting file entries tested: 1<br>
acct02.c:140: <font color="#33cc00">PASS:</font> acct() wrote
correct file contents!<br>
<br>
</p>
<p>There seems to be something else going wrong. I will investigate
this.</p>
<p>Kind regards,</p>
<p>Christian<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 06/06/2019 14:14, Cyril Hrubis
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20190606121436.GB27083@rei">
<pre class="moz-quote-pre" wrap="">Hi!
Have you tried the test on the !v3 case?
I do have:
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
And the test fails with:
tst_kconfig.c:62: INFO: Parsing kernel config '/proc/config.gz'
tst_test.c:1111: INFO: Timeout per run is 0h 05m 00s
tst_kconfig.c:62: INFO: Parsing kernel config '/proc/config.gz'
acct02.c:159: INFO: Verifying using 'struct acct'
acct02.c:137: INFO: Number of accounting file entries tested: 0
acct02.c:142: FAIL: acct() wrote incorrect file contents!
Looks like the file is empty for me...
</pre>
</blockquote>
</body>
</html>