summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/units/testsuite-65.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-65.sh b/test/units/testsuite-65.sh
index 6c819dfe4a..6415734651 100755
--- a/test/units/testsuite-65.sh
+++ b/test/units/testsuite-65.sh
@@ -179,7 +179,7 @@ systemd-analyze security --json=short | jq
if [[ ! -v ASAN_OPTIONS ]]; then
# check that systemd-analyze cat-config paths work in a chroot
mkdir -p /tmp/root
- mount --bind / /tmp/root
+ mount --rbind / /tmp/root
systemd-analyze cat-config systemd/system-preset >/tmp/out1
chroot /tmp/root systemd-analyze cat-config systemd/system-preset >/tmp/out2
diff /tmp/out{1,2}