Skip to contentSkip to conversation

parisc-patch for Linux Test Project

parisc-linux Mike Frysinger 1 participant 1 message Mar 13, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Helge Deller

the trivial patch below is against the current CVS version of LTP and adds missing pieces and changes which are necessary for LTP on the PARISC/HPPA architecture.

looks like your mailer mangled the whitespace in the patch ...

Quoted 6 lines

The read04.c patch part is a real architecture-independend bugfix. The read04 tests writes TST_SIZE bytes to a file, reads the same amount of bytes back again and compares the contents. Naturally, it only should verify if TST_SIZE bytes (the amount of bytes which where written!) matches. sizeof() returns the number of bytes including the leading zero-byte which hasn't been read back.

indeed, thanks for that

Quoted 6 lines

Index: testcases/kernel/mem/shmt/shmt02.c
Index: testcases/kernel/mem/shmt/shmt04.c
Index: testcases/kernel/mem/shmt/shmt05.c
Index: testcases/kernel/mem/shmt/shmt06.c
Index: testcases/kernel/mem/shmt/shmt07.c
Index: testcases/kernel/mem/shmt/shmt09.c

merged, no comment obviously :)

Quoted 1 line

Index: testcases/kernel/io/direct_io/diotest4.c

i rewrote this test case so all GNU C based people use __builtin_return_address(0) by default so we shouldnt need the arch cruft anymore ... leave it to gcc to figure that out

Quoted 1 line

Index: testcases/kernel/include/linux_syscall_numbers.h

this is a generated file, so you dont want to change it ... ive fixed up the input files instead
-mike