Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: tools/isolate/tests/trace_inputs/symlink.py

Issue 11045023: Move src/tools/isolate to src/tools/swarm_client as a DEPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use r159961 Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/isolate/tests/trace_inputs/ignored.txt ('k') | tools/isolate/tests/trace_inputs/test_file.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/tests/trace_inputs/symlink.py
diff --git a/tools/isolate/tests/trace_inputs/symlink.py b/tools/isolate/tests/trace_inputs/symlink.py
deleted file mode 100755
index d75412f08fcc401044df9ef4841ddf2b60bdcd40..0000000000000000000000000000000000000000
--- a/tools/isolate/tests/trace_inputs/symlink.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/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/'
- assert len(sys.argv) == 1
-
- expected = {
- 'bar': 'Foo\n',
- 'foo': 'Bar\n',
- }
-
- if not os.path.basename(os.getcwd()) == 'tests':
- print 'Start this script from inside "tests"'
- return 1
-
- root = os.path.join('trace_inputs', 'files2')
- actual = dict(
- (filename, open(os.path.join(root, filename), 'rb').read())
- for filename in (os.listdir(root)))
-
- if actual != expected:
- print 'Failure'
- print actual
- print expected
- return 2
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « tools/isolate/tests/trace_inputs/ignored.txt ('k') | tools/isolate/tests/trace_inputs/test_file.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698