aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker')
-rwxr-xr-xtests/docker/docker.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 30f463a..7687287 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -127,6 +127,11 @@ def _check_binfmt_misc(executable):
with open(binfmt_entry) as x: entry = x.read()
+ if re.search("flags:.*F.*\n", entry):
+ print("binfmt_misc for %s uses persistent(F) mapping to host binary\n" %
+ (binary))
+ return None
+
m = re.search("interpreter (\S+)\n", entry)
interp = m.group(1)
if interp and interp != executable: