mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
test: set $PATH to something predictable in the ASan wrapper
This is still necessary when running with clang's ASan, as it uses an
external binary to symbolize the stack traces.
Follow-up to ba79e8c2cc
.
This commit is contained in:
parent
6e89663d23
commit
3bba91ef44
@ -1000,8 +1000,10 @@ EOF
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
|
||||
export PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
export ${default_environment[@]}
|
||||
[[ -n "\$ASAN_OPTIONS" && -n "\$UBSAN_OPTIONS" ]]
|
||||
|
||||
exec "$ROOTLIBDIR/systemd" "\$@"
|
||||
EOF
|
||||
chmod 0755 "$asan_wrapper"
|
||||
|
Loading…
Reference in New Issue
Block a user