]> granicus.if.org Git - strace/commit
tests: rewrite umovestr2.test without using grep
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 6 Apr 2015 22:17:28 +0000 (22:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 6 Apr 2015 22:17:28 +0000 (22:17 +0000)
commita402810530e0a28df91dc3fa9b070572ed791f98
tree550e5ca98d9f33751552f0b2990fe32486194135
parent87af1935fb17ce3253ff2a573815ac88e1b48c31
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.
tests/umovestr2.c
tests/umovestr2.test