Index: tests/isolate/symlink_partial.py |
diff --git a/tests/isolate/symlink_partial.py b/tests/isolate/symlink_partial.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..d0437e5ab9502c6d1283ac493675585f37b70191 |
--- /dev/null |
+++ b/tests/isolate/symlink_partial.py |
@@ -0,0 +1,21 @@ |
+#!/usr/bin/env python |
+# Copyright (c) 2012 The Chromium 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 |
+ |
+ |
+def main(): |
+ print 'symlink: touches files2/test_file2.txt' |
+ assert len(sys.argv) == 1 |
+ |
+ if 'Bar\n' != open(os.path.join('files2', 'test_file2.txt'), 'rb').read(): |
+ print 'Failed' |
+ return 1 |
+ return 0 |
+ |
+ |
+if __name__ == '__main__': |
+ sys.exit(main()) |