From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thadeu Lima de Souza Cascardo Date: Thu, 26 Sep 2019 07:43:08 -0300 Subject: [LTP] LTP Release In-Reply-To: <20190910130549.GC18210@rei.lan> References: <20190906130707.GA7515@rei.lan> <20190910130549.GC18210@rei.lan> Message-ID: <20190926104308.GN3877@calabresa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it On Tue, Sep 10, 2019 at 03:05:53PM +0200, Cyril Hrubis wrote: > Hi! > > The one to print errno number. > > [PATCH] tst_res: Print errno number in addition to error name > > Pushed the patch as it was, I do not think that reordering the > statements was important enough. > > > Some test failures: > > ============== > > > > acct02 (s390x): > > acct02.c:174: INFO: Verifying using 'struct acct_v3' > > acct02.c:140: INFO: Number of accounting file entries tested: 2 > > acct02.c:145: FAIL: acct() wrote incorrect file contents! > > I can reproduce it here as well, no idea what is wrong there. I guess > that modifying the test to be more verbose, i.e. to print if we haven't > matched the pid or if the contents of the structure were wrong would be > a good start. > > > timer_create01 (s390x, ppc64le, aarch64): > > timer_create01.c:48: INFO: Testing notification type: SIGEV_THREAD_ID > > timer_create01.c:93: PASS: Timer successfully created for CLOCK_REALTIME > > timer_create01.c:93: PASS: Timer successfully created for CLOCK_MONOTONIC > > timer_create01.c:93: PASS: Timer successfully created for > > CLOCK_PROCESS_CPUTIME_ID > > timer_create01.c:93: PASS: Timer successfully created for > > CLOCK_THREAD_CPUTIME_ID > > timer_create01.c:93: PASS: Timer successfully created for CLOCK_BOOTTIME > > timer_create01.c:87: FAIL: Failed to create timer for CLOCK_BOOTTIME_ALARM: > > ??? > > timer_create01.c:87: FAIL: Failed to create timer for CLOCK_REALTIME_ALARM: > > ??? > > timer_create01.c:93: PASS: Timer successfully created for CLOCK_TAI > > I'm pretty sure that we concluded that this is a kernel bug since it > returns kernel internal errno. > And a pull request has already been sent to Linus to fix this. [1] Now, the test also needs to check for EOPNOTSUPP instead of only EINVAL. I'll prepare a patch. [1] https://lore.kernel.org/lkml/156864062018.3407.10822767012822306757.tglx@nanos.tec.linutronix.de/ > -- > Cyril Hrubis > chrubis@suse.cz > > -- > Mailing list info: https://lists.linux.it/listinfo/ltp