[LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}

2009-08-07 Thread Geert Uytterhoeven
: error: expected ‘)’ before numeric constant make[4]: *** [fstatat01_64.o] Error 1 Re-add the missing plus signs to fix it. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- Discovered on ppc testcases/kernel/include/hppa.in | 26

Re: [LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}

2009-08-07 Thread Geert Uytterhoeven
On Fri, 7 Aug 2009, Subrata Modak wrote: On Fri, 2009-08-07 at 10:49 +0200, Geert Uytterhoeven wrote: Commit move leading __NR_ to script to make all the .in files simpler accidentally removed all plus signs surrounded by spaces from the syscall definition files for hppa/powerpc{,64}/s390

Re: [LTP] top of tree fails to build on PPC fc11 box

2009-08-14 Thread Geert Uytterhoeven
/Makefile.am. After fixing that one, several other files were found to be missing. I also tried a fresh checkout from sf.net's CVS, and there it works fine. So I guess some critical files were not imported in ltp.git? BTW, how do you run `ac-maintainer-clean'? With kind regards, Geert

[LTP] linux-libc-dev and LTP compile failures on ppc

2009-08-14 Thread Geert Uytterhoeven
of defining its own? With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone:+32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: geert.uytterhoe

[LTP] [PATCH] Spelling fixes: brok - broke

2009-08-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- testcases/commands/ade/file/file_test.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/commands/ade/file/file_test.sh b/testcases/commands/ade/file/file_test.sh index 6f09f21..b4719fc

[LTP] [PATCH] cron tests: autodetect crond vs. cron

2009-08-20 Thread Geert Uytterhoeven
The cron tests check for Red Hat to decide whether to use /etc/init.d/crond or /etc/init.d/cron. This fails on other distros that use crond, e.g. on Yellow Dog Linux. Replace the distro test by an actual file existence test, as is done in testcases/kdump/runkdump.sh. Signed-off-by: Geert

[LTP] [PATCH] Spelling fixes: commad = command

2009-08-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- ChangeLog |2 +- testcases/commands/ade/file/file_test.sh |8 testcases/commands/eject/eject-tests.sh|2 +- .../plugins/ilo2_ribcl

[LTP] [PATCH] Spelling fixes: exectue = execute

2009-08-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- testcases/commands/at/at_allow01 |4 ++-- testcases/commands/at/at_deny01 |4 ++-- testcases/commands/cron/cron_allow01 |4 ++-- testcases/commands/cron/cron_deny01 |4 ++-- 4 files changed, 8

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-24 Thread Geert Uytterhoeven
Still, the summary only shows `FAIL' or `PASS'. What is it supposed to show for TCONF? With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone:+32 (0)2 700 8453 Fax

[LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Geert Uytterhoeven
regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone:+32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: geert.uytterhoe...@sonycom.com Internet: http://www.sony

Re: [LTP] undefined macro: _m4_divert_diversion

2009-08-26 Thread Geert Uytterhoeven
On Wed, 26 Aug 2009, Nicolas Joly wrote: On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote: When trying to autoconfigure current LTP on YDL, I get: # make autotools touch config.mk aclocal -I m4 m4/ltp-unshare.m4:2: error: m4_defn: undefined macro

[LTP] [PATCH] Spelling fixes: excute = execute

2009-08-26 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- .../sched/hyperthreading/ht_affinity/HTaffinity.c |2 +- .../sched/hyperthreading/ht_enabled/HTenabled.c|2 +- .../hyperthreading/ht_interrupt/HTinterrupt.c |2 +- 3 files changed, 3 insertions(+), 3

[LTP] [PATCH] Spelling fixes: initalization = initialization

2009-08-26 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- testcases/network/nfsv4/locks/locktests.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/network/nfsv4/locks/locktests.c b/testcases/network/nfsv4/locks/locktests.c index 3268733..38b2e9d

Re: [LTP] fix for file_test for systems without rpm installed

2009-08-26 Thread Geert Uytterhoeven
TEST #10: file command recognizes $KERNEL file I guess this change was not supposed to be part of this patch? Not that I'm complaining, as it fixes another vmlinuz vs. vmlinux mismatch I was seeing ;-) With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology

Re: [LTP] [PATCH] su01: Yellow Dog Linux doesn't support passwd -e

2009-08-27 Thread Geert Uytterhoeven
On Thu, 27 Aug 2009, Mike Frysinger wrote: On Thursday 27 August 2009 05:49:49 Geert Uytterhoeven wrote: On Wed, 26 Aug 2009, Mike Frysinger wrote: On Wednesday 26 August 2009 11:20:44 Geert Uytterhoeven wrote: Is there any better way to handle this?? change it to: if passwd -h

[LTP] [PATCH] file: Autodetect RPM topdir

2009-08-27 Thread Geert Uytterhoeven
Query RPM for the location of the RPM topdir, instead of guessing, which failed on YDEL6 (/usr/src/yellowdog) and Debian/Ubuntu (/usr/src/rpm) Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- testcases/commands/ade/file/file_test.sh |9 ++--- 1 files changed, 2

Re: [LTP] fix mail_tests for systems without mail installed

2009-08-27 Thread Geert Uytterhoeven
8035091c4232e8d6c7b3a75d612bc82c1ad84365 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Date: Thu, 27 Aug 2009 14:11:58 +0200 Subject: [PATCH] Fix mail_tests for systems with mail installed `-z' tests for a string length of zero, not for a zero value, causing the test

[LTP] [PATCH] quotactl01: Fix tst_resm() format causing crash

2009-08-27 Thread Geert Uytterhoeven
When the quotactl syscall fails, quotactl01 crashes with a segmentation fault due to an incorrect printf()-style format. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- testcases/kernel/syscalls/quotactl/quotactl01.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[LTP] quotactl01: syscall(258, ...)???

2009-08-27 Thread Geert Uytterhoeven
testcases/kernel/syscalls/quotactl/quotactl01.c has: TEST(result = syscall(258, newtid)); //call quotactl() From the number and the parameter, it looks like __NR_set_tid_address is intended. But the comment suggests otherwise? With kind regards, Geert Uytterhoeven Software

[LTP] [PATCH] Annotate tst_*() helpers with __attribute__ ((format (printf, M, N))) (was: Re: [PATCH] quotactl01: Fix tst_resm() format causing crash)

2009-08-27 Thread Geert Uytterhoeven
On Thu, 27 Aug 2009, Geert Uytterhoeven wrote: When the quotactl syscall fails, quotactl01 crashes with a segmentation fault due to an incorrect printf()-style format. This bug encouraged me to add annotations to the test helpers that take printf()-style formats, cfr. the patch below

Re: [LTP] [PATCH] Annotate tst_*() helpers with __attribute__ ((format (printf, M, N))) (was: Re: [PATCH] quotactl01: Fix tst_resm() format causing crash)

2009-08-28 Thread Geert Uytterhoeven
On Fri, 28 Aug 2009, Subrata Modak wrote: On Fri, 2009-08-28 at 11:38 +0530, Subrata Modak wrote: On Thu, 2009-08-27 at 17:29 +0200, Geert Uytterhoeven wrote: On Thu, 27 Aug 2009, Geert Uytterhoeven wrote: When the quotactl syscall fails, quotactl01 crashes with a segmentation

[LTP] mmapstress03 weirdness? (fwd)

2009-09-21 Thread Geert Uytterhoeven
-- Forwarded message -- Date: Wed, 16 Sep 2009 18:37:12 +0200 (CEST) From: Geert Uytterhoeven geert.uytterhoe...@sonycom.com To: Linux Test Project Ltp-list@lists.sourceforge.net Subject: [LTP] mmapstress03 weirdness? On ppc64, with 32-bit userland, I get: | Running tests