[PATCH v4 3/3] Add tests for the -l/--syscall-limit option

Dmitry V. Levin ldv at strace.io
Sat Mar 18 12:05:51 UTC 2023


On Sat, Mar 04, 2023 at 07:02:17PM +0530, Sahil Siddiq wrote:
[...]
> --- a/tests/gen_tests.in
> +++ b/tests/gen_tests.in
> @@ -1006,6 +1006,8 @@ strace--strings-in-hex-all		--trace=chdir --strings-in-hex=all --columns=18
>  strace--strings-in-hex-non-ascii	--trace=chdir --strings-in-hex=non-ascii --columns=12
>  strace--strings-in-hex-non-ascii-chars	--trace=chdir --strings-in-hex=non-ascii-chars --columns=12
>  strace--strings-in-hex-none		--trace=chdir --strings-in-hex=none --columns=12
> +strace--syscall-limit-path	+strace--syscall-limit.test --trace=all --trace-path=. --trace-path=invalid.dir
> +strace--syscall-limit-status	+strace--syscall-limit.test --trace=chdir,openat --status=failed

The "strace--syscall-limit" test seems to be lost.

Please avoid testing against openat because it's used by dynamic linker
and therefore the number of openat invocations is not predictable.


-- 
ldv


More information about the Strace-devel mailing list