summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/shell/helpers/test-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/helpers/test-wrapper.sh b/tests/shell/helpers/test-wrapper.sh
index 872a0c56..b74c5616 100755
--- a/tests/shell/helpers/test-wrapper.sh
+++ b/tests/shell/helpers/test-wrapper.sh
@@ -48,7 +48,7 @@ if [ "$NFT_TEST_HAS_UNSHARED_MOUNT" = y ] ; then
# Note that this also hides everything that might reside in /var/run.
# That is desirable, as tests should not depend on content there (or if
# they do, we need to explicitly handle it as appropriate).
- if mount -t tmpfs --make-private "/var/run" ; then
+ if mount -t tmpfs --make-private tmpfs "/var/run" ; then
CLEANUP_UMOUNT_VAR_RUN=y
fi
mkdir -p /var/run/netns