]> granicus.if.org Git - strace/commit
tests: robustify strace-t.test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 21 Jul 2017 02:49:24 +0000 (02:49 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 21 Jul 2017 02:49:24 +0000 (02:49 +0000)
commit5112bb00836fdb789afbd2bbf05aba123b8c2396
treef34778e86fbbd79b899ec02cca9e1ea4ffbdc89d
parent8d2dd76323bbb06119427df07bdaff91aae2522a
tests: robustify strace-t.test

If strace -t is running too long, it might happen that time stamps
before and after its invocation differ for more than a second.
Adjust expected output to handle this rare but possible case.

* tests/strace-t.test: Allow any time stamp between start and finish
of strace invocation.
tests/strace-t.test