History log of /external/strace/tests/strace-k.test
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c588b205be19f84f757dec6f2e6ed2a157750f97 13-Jun-2014 Dmitry V. Levin <ldv@altlinux.org> tests: enhance -k test

Add two more function calls to the stack. Suggested by Masatake YAMATO.

* tests/stack-fcall.c (f1): Rename to f3.
(f1, f2): New functions.
* tests/strace-k.test: Update.
e4113974893293c82f177fe4195cac0a5b70465a 05-Jun-2014 Dmitry V. Levin <ldv@altlinux.org> unwind: fix build on 32-bit architectures

Fix compilation warnings in unwind.c on 32-bit architectures.
On some architectures getuid is actually getuid32, so change the test
to use getpid instead of getuid.

* unwind.c (STACK_ENTRY_SYMBOL_FMT): Explicitly cast function_off_set
to unsigned long.
(queue_put_error): Change the 3rd argument's type to unsigned long.
* tests/stack-fcall.c (f1): Use getpid instead of getuid.
* tests/strace-k.test: Likewise.
9682107053968402da7afca7e82e2c6281d05518 14-May-2014 Masatake YAMATO <yamato@redhat.com> unwind: tests: add a test for -k option

* tests/stack-fcall.c: New test target.
* tests/strace-k.test: New test driver.
* tests/Makefile.am (check_PROGRAMS): Add stack-fcall.
(TESTS): Add strace-k.test.
* tests/.gitignore: Add stack-fcall.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>