1# Copyright 2014 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import os 6import sys 7 8# Parent passes test file path as first argument. 9test_file = sys.argv[1] 10 11# We entered a mount namespace where |test_file| should not be accessible. 12if os.access(test_file, os.F_OK): 13 sys.exit(1) 14