History log of /external/strace/tests/umovestr2.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a402810530e0a28df91dc3fa9b070572ed791f98 07-Apr-2015 Dmitry V. Levin <ldv@altlinux.org> tests: rewrite umovestr2.test without using grep

The regular expression generated by umovestr2.c on systems with large
page size is too big for GNU grep. Rewrite the test to use diff
instead of grep.

* tests/umovestr2.test: Use match_diff instead of match_grep.
* tests/umovestr2.c (main): Convert output from regexp to plain text.
/external/strace/tests/umovestr2.c
48321344d7c6f1af5326b31131b3f57da57e4203 31-Mar-2015 Dmitry V. Levin <ldv@altlinux.org> umovestr: fix short read bug

* util.c (umovestr): Check the right address.
* tests/umovestr.c: New file.
* tests/umovestr2.c: Likewise.
* tests/umovestr.expected: Likewise.
* tests/umovestr.test: New test.
* tests/umovestr2.test: Likewise.
* tests/Makefile.am (check_PROGRAMS): Add umovestr and umovestr2.
(TESTS): Add umovestr.test and umovestr2.test.
(EXTRA_DIST): Add umovestr.expected.
* tests/.gitignore: Add umovestr and umovestr2.

Reported-by: Josef T. Burger <bolo@cs.wisc.edu>
/external/strace/tests/umovestr2.c