diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-22 11:04:01 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-07-23 00:13:30 +0200 |
commit | 35a926777e124ae8c2ac3cf46f44248b5e147294 (patch) | |
tree | bafe84717f920725c76e337cc8f1d12a6536867e /src/test/meson.build | |
parent | udev: enable BLKID_SUBLKS_FSINFO tags (diff) | |
download | systemd-35a926777e124ae8c2ac3cf46f44248b5e147294.tar.xz systemd-35a926777e124ae8c2ac3cf46f44248b5e147294.zip |
tests: add a simple test that checks what fexecve_or_execve does
This can be easily used to show that the issue described in
ceedbf8185fc7593366679f02d31da63af8c4bd1 is still reproduced:
$ strace -e execveat build/test-execve /bin/grep Name /proc/self/status
execveat(3, "", ["/bin/grep", "Name", "/proc/self/status"], NULL, AT_EMPTY_PATH) = 0
Name: 3
Diffstat (limited to 'src/test/meson.build')
-rw-r--r-- | src/test/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/meson.build b/src/test/meson.build index cab9c9aea2..31ac149b96 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -232,6 +232,8 @@ tests += [ [files('test-exec-util.c')], + [files('test-execve.c')], + [files('test-hexdecoct.c')], [files('test-alloc-util.c')], |