changeset 35101:eb4241f914a3

test-lfs: cast the flags printed to an int On Windows, the flag values in the subsequent tests were printing with a 'L' suffix.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 14 Nov 2017 01:09:48 -0500
parents 07e97998d385
children ec7f0bb95277
files tests/test-lfs.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs.t	Tue Nov 14 01:03:22 2017 -0500
+++ b/tests/test-lfs.t	Tue Nov 14 01:09:48 2017 -0500
@@ -514,7 +514,7 @@
   >             continue
   >         sizes = [revlog.revlog.rawsize(fl, i) for i in fl]
   >         texts = [fl.revision(i, raw=True) for i in fl]
-  >         flags = [fl.flags(i) for i in fl]
+  >         flags = [int(fl.flags(i)) for i in fl]
   >         hashes = [hash(t) for t in texts]
   >         print('  %s: rawsizes=%r flags=%r hashes=%r'
   >               % (name, sizes, flags, hashes))