qemu/tests
Peter Maydell 420b6c317d tests/test-mmap.c: Check mmap() return value before using it
Correct the position of a "stop if MAP_FAILED" check in the mmap()
tests, so that if mmap() does fail we print a failure message
rather than segfaulting inside memcpy().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2011-04-14 17:31:47 +02:00
..
alpha target-alpha: overflow condition for sublv and subqv 2009-04-10 21:27:15 +00:00
cris tests/cris: Fix some errors and potential crashes 2011-04-03 21:58:38 +02:00
lm32 lm32: opcode testsuite 2011-03-07 13:42:37 +01:00
Makefile lm32: opcode testsuite 2011-03-07 13:42:37 +01:00
hello-arm.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
hello-i386.c Replace 'extern inline' with 'static inline' 2011-01-17 20:26:30 +00:00
hello-mips.c Simple test for mips/mipsel, based on a test by Alexander Voropay. 2006-12-14 14:48:11 +00:00
linux-test.c tests: Fix two memory leaks 2011-02-20 18:45:08 +01:00
pi_10.com added user mode libqemu usage example 2004-04-24 00:11:51 +00:00
qruncom.c Add missing 'static' attribute 2010-05-07 16:28:10 +00:00
runcom.c make runcom compile on recent distributions 2010-10-23 14:47:01 +00:00
sha1.c tests: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types 2010-07-25 16:59:40 +02:00
test-arm-iwmmxt.s Implement iwMMXt instruction set for the PXA270 cpu. 2007-04-30 02:02:17 +00:00
test-i386-code16.S suppressed warnings 2008-01-31 15:19:39 +00:00
test-i386-muldiv.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
test-i386-shift.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
test-i386-ssse3.c Implement SSE4.1, SSE4.2 (x86). 2008-10-04 03:27:44 +00:00
test-i386-vm86.S find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
test-i386.c disable test_enter on i386, it is broken 2010-10-23 14:46:58 +00:00
test-i386.h x86_64 test program 2005-03-02 22:19:12 +00:00
test-mmap.c tests/test-mmap.c: Check mmap() return value before using it 2011-04-14 17:31:47 +02:00
test_path.c fix test_path 2010-10-23 14:47:06 +00:00
testthread.c update 2003-04-11 00:13:04 +00:00