[LTP] [PATCH v2] syscalls/acct02: add functional testcase

Christian Amann camann@suse.com
Fri Jun 7 14:25:08 CEST 2019


On 07/06/2019 14:12, Cyril Hrubis wrote:
>> Hi!
>>>>> yes, I have tested it on a system like you describe but I receive a
>>>>> positive output:
>>>>>
>>>>> 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: 1
>>>>> acct02.c:140: PASS: acct() wrote correct file contents!
>>>>>
>>>>> There seems to be something else going wrong. I will investigate this.
>>>> May be something wrong at my end as well, what kernel versions have you
>>>> tested? At my end I tested 4.20.
>>>>
>>> I have a 4.19 kernel x86_64 machine running and I double checked that I
>>> have the same configs as you have provided.
>>>
>>> Still, I have a hard time reproducing the error.
>> Looks like this is very specific error that happens for me since I have
>> /mnt on my rootfs, it works for any other filesystem I've tried though.
>>
>> I guess that we can go ahead and push the test then.
> Maybe we should investigate this a little more, first. I have managed to
> reproduce the error on two of my systems. Both of them haveĀ 
> CONFIG_BSD_PROCESS_ACCT_V3 enabled and no rootfs mounts.
>
> Kernel is 4.2 in both cases.
>
> One of them is x86, the other x86_64
>
> Really strange...
>
>


More information about the ltp mailing list