diff options
author | Jan Janssen <medhefgo@web.de> | 2023-06-14 16:05:52 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-06-14 16:05:52 +0200 |
commit | 739a62bb40695addd1d118eadbab4ec47aa24db5 (patch) | |
tree | f73344a71542e2049ab9bece6a9b458d8644c98b /test/fuzz | |
parent | sleep-config: add comment about security (diff) | |
download | systemd-739a62bb40695addd1d118eadbab4ec47aa24db5.tar.xz systemd-739a62bb40695addd1d118eadbab4ec47aa24db5.zip |
meson: Use fs module in more places
Diffstat (limited to 'test/fuzz')
-rw-r--r-- | test/fuzz/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index a8fb71c566..61a62a75a3 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -83,8 +83,8 @@ foreach p : out.stdout().split() if p.contains('\\') continue endif - fuzzer = p.split('/')[-2] - fuzz_in = p.split('/')[-1] + fuzzer = fs.name(fs.parent(p)) + fuzz_in = fs.name(p) if fuzzer not in fuzz_regression_tests fuzz_regression_tests += {fuzzer: []} endif |