tests/f
changeset 26950 6686ae524f94
parent 23912 7d0aa6269ece
child 28044 e4f70e79a65f
--- a/tests/f	Thu Nov 12 14:29:02 2015 -0800
+++ b/tests/f	Mon Nov 09 12:49:31 2015 -0500
@@ -44,7 +44,7 @@
             if opts.type:
                 facts.append('file')
             if opts.hexdump or opts.dump or opts.md5:
-                content = file(f).read()
+                content = file(f, 'rb').read()
         elif islink:
             if opts.type:
                 facts.append('link')