| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2012 The LUCI Authors. All rights reserved. | 2 # Copyright 2012 The LUCI Authors. All rights reserved. |
| 3 # Use of this source code is governed by the Apache v2.0 license that can be | 3 # Use of this source code is governed under the Apache License, Version 2.0 |
| 4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
| 5 | 5 |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 | 9 |
| 10 def main(): | 10 def main(): |
| 11 print 'symlink: touches files2/' | 11 print 'symlink: touches files2/' |
| 12 assert len(sys.argv) == 1 | 12 assert len(sys.argv) == 1 |
| 13 | 13 |
| 14 expected = { | 14 expected = { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 28 if actual != expected: | 28 if actual != expected: |
| 29 print 'Failure' | 29 print 'Failure' |
| 30 print actual | 30 print actual |
| 31 print expected | 31 print expected |
| 32 return 2 | 32 return 2 |
| 33 return 0 | 33 return 0 |
| 34 | 34 |
| 35 | 35 |
| 36 if __name__ == '__main__': | 36 if __name__ == '__main__': |
| 37 sys.exit(main()) | 37 sys.exit(main()) |
| OLD | NEW |