]> granicus.if.org Git - strace/commit
tests: change text marker in fork-f and vfork-f tests
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 8 Jan 2016 00:44:04 +0000 (00:44 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 8 Jan 2016 02:45:05 +0000 (02:45 +0000)
commit6833d61090eb7381f200c92f6d59748c8e410a8a
tree6df102c8020f46f79f4a07ab69e176e5885a01b5
parentbe1cb92c72267a1593d2573304101105ef2a5a3e
tests: change text marker in fork-f and vfork-f tests

Use chdir syscalls instead of pwrite64 syscalls as a method of inserting
text markers into strace output because the former are more portable.

* tests/fork-f.c (logit): Rename to logit_. Use chdir instead of pwrite.
(logit): New macro wrapper around logit_.
(main): Update expected output.
* tests/vfork-f.c: Likewise.
* tests/fork-f.test: Update.
tests/fork-f.c
tests/fork-f.test
tests/vfork-f.c