mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
test: don't mount /sys & /proc if already mounted
This commit is contained in:
parent
e85c644ede
commit
0d4519dd84
|
@ -884,8 +884,8 @@ INNER_EOF
|
|||
# Let's make one to prevent unexpected "<bin> not found" issues in the future
|
||||
export PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
mountpoint -q /proc || mount -t proc proc /proc
|
||||
mountpoint -q /sys || mount -t sysfs sysfs /sys
|
||||
mount -o remount,rw /
|
||||
|
||||
DEFAULT_ENVIRONMENT="\$DEFAULT_ENVIRONMENT ASAN_RT_PATH=$ASAN_RT_PATH"
|
||||
|
|
Loading…
Reference in a new issue