| OLD | NEW |
| 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 import os | 6 import os |
| 7 import re | 7 import re |
| 8 import subprocess | 8 import subprocess |
| 9 import sys | 9 import sys |
| 10 import tarfile | 10 import tarfile |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 class TestAutoUpdateSdkToolsDifferentFilesystem(TestAutoUpdateSdkTools): | 221 class TestAutoUpdateSdkToolsDifferentFilesystem(TestAutoUpdateSdkTools): |
| 222 def setUp(self): | 222 def setUp(self): |
| 223 # On Linux (on my machine at least), /tmp is a different filesystem than | 223 # On Linux (on my machine at least), /tmp is a different filesystem than |
| 224 # the current directory. os.rename fails when the source and destination | 224 # the current directory. os.rename fails when the source and destination |
| 225 # are on different filesystems. Test that case here. | 225 # are on different filesystems. Test that case here. |
| 226 self.SetupWithBaseDirPrefix('sdktools', tmpdir='.') | 226 self.SetupWithBaseDirPrefix('sdktools', tmpdir='.') |
| 227 | 227 |
| 228 | 228 |
| 229 if __name__ == '__main__': | 229 if __name__ == '__main__': |
| 230 sys.exit(unittest.main()) | 230 sys.exit(unittest.main()) |
| OLD | NEW |