blob: dd98d9f644c1ada83d9cac856301635f97b2740c [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
# Parent passes test file path as first argument.
test_file = sys.argv[1]
# We entered a mount namespace where |test_file| should not be accessible.
if os.access(test_file, os.F_OK):
sys.exit(1)