Home | History | Annotate | Download | only in src
      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 
      5 import os
      6 import sys
      7 
      8 # Parent passes test file path as first argument.
      9 test_file = sys.argv[1]
     10 
     11 # We entered a mount namespace where |test_file| should not be accessible.
     12 if os.access(test_file, os.F_OK):
     13     sys.exit(1)
     14