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

Side by Side Diff: tools/checkperms/checkperms.py

Issue 497163002: Componentize component_updater: Delete old test data files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/data/components/updatecheck_reply_noupdate.xml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Makes sure files have the right permissions. 6 """Makes sure files have the right permissions.
7 7
8 Some developers have broken SCM configurations that flip the svn:executable 8 Some developers have broken SCM configurations that flip the svn:executable
9 permission on for no good reason. Unix developers who run ls --color will then 9 permission on for no good reason. Unix developers who run ls --color will then
10 see .cc files in green and get confused. 10 see .cc files in green and get confused.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ) 136 )
137 137
138 # These files must not have executable bit set. 138 # These files must not have executable bit set.
139 # 139 #
140 # Case-insensitive, lower-case only. 140 # Case-insensitive, lower-case only.
141 NON_EXECUTABLE_PATHS = ( 141 NON_EXECUTABLE_PATHS = (
142 'build/android/tests/symbolize/liba.so', 142 'build/android/tests/symbolize/liba.so',
143 'build/android/tests/symbolize/libb.so', 143 'build/android/tests/symbolize/libb.so',
144 'chrome/installer/mac/sign_app.sh.in', 144 'chrome/installer/mac/sign_app.sh.in',
145 'chrome/installer/mac/sign_versioned_dir.sh.in', 145 'chrome/installer/mac/sign_versioned_dir.sh.in',
146 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/'
147 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file',
148 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/'
149 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file',
150 'chrome/test/data/extensions/uitest/plugins/plugin32.so', 146 'chrome/test/data/extensions/uitest/plugins/plugin32.so',
151 'chrome/test/data/extensions/uitest/plugins/plugin64.so', 147 'chrome/test/data/extensions/uitest/plugins/plugin64.so',
152 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so', 148 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so',
153 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so', 149 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so',
154 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/' 150 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/'
155 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file', 151 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file',
156 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/' 152 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/'
157 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file', 153 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file',
158 'courgette/testdata/elf-32-1', 154 'courgette/testdata/elf-32-1',
159 'courgette/testdata/elf-32-2', 155 'courgette/testdata/elf-32-2',
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 print '\nFAILED\n' 534 print '\nFAILED\n'
539 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) 535 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors)
540 return 1 536 return 1
541 if not options.bare: 537 if not options.bare:
542 print '\nSUCCESS\n' 538 print '\nSUCCESS\n'
543 return 0 539 return 0
544 540
545 541
546 if '__main__' == __name__: 542 if '__main__' == __name__:
547 sys.exit(main()) 543 sys.exit(main())
OLDNEW
« no previous file with comments | « chrome/test/data/components/updatecheck_reply_noupdate.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698