mirror of
https://github.com/systemd/systemd.git
synced 2025-04-01 18:50:16 +03:00
Merge pull request #1991 from evverx/use-systems-nspawn
tests: don't rely on system's machined
This commit is contained in:
commit
aad2652326
@ -92,7 +92,7 @@ $KERNEL_APPEND \
|
||||
|
||||
run_nspawn() {
|
||||
set -x
|
||||
../../systemd-nspawn --boot --directory=$TESTDIR/nspawn-root $ROOTLIBDIR/systemd $KERNEL_APPEND
|
||||
../../systemd-nspawn --register=no --boot --directory=$TESTDIR/nspawn-root $ROOTLIBDIR/systemd $KERNEL_APPEND
|
||||
}
|
||||
|
||||
setup_basic_environment() {
|
||||
@ -1135,8 +1135,7 @@ inst_libdir_file() {
|
||||
|
||||
check_nspawn() {
|
||||
[[ -d /sys/fs/cgroup/systemd ]] && \
|
||||
[[ -d /run/systemd/system ]] && \
|
||||
[[ -e /lib/systemd/systemd-machined ]]
|
||||
[[ -d /run/systemd/system ]]
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user