Index: native_client_sdk/src/tools/tests/getos_test.py |
diff --git a/native_client_sdk/src/tools/tests/getos_test.py b/native_client_sdk/src/tools/tests/getos_test.py |
index 9004bd9e0f08210af2c2a793b27e01fc7b578497..c847fe12f76a2b0339be766daf58dcdff43389c4 100755 |
--- a/native_client_sdk/src/tools/tests/getos_test.py |
+++ b/native_client_sdk/src/tools/tests/getos_test.py |
@@ -117,10 +117,11 @@ class TestGetosWithTempdir(TestCaseExtended): |
def testGetSDKVersion(self): |
"""correctly parses README to find SDK version.""" |
- expected_version = (16, '196') |
+ expected_version = (16, '196', 'f00baacabba6e-refs/heads/master@{#100}') |
with open(os.path.join(self.tempdir, 'README'), 'w') as out: |
out.write('Version: %s\n' % expected_version[0]) |
out.write('Chrome Revision: %s\n' % expected_version[1]) |
+ out.write('Chrome Commit Position: %s\n' % expected_version[2]) |
version = getos.GetSDKVersion() |
self.assertEqual(version, expected_version) |