tests/f
changeset 38370 06c85cbd6824
parent 36954 0585337ea787
child 40246 be0a5d2d5c78
--- a/tests/f	Mon Jun 18 15:24:17 2018 +0530
+++ b/tests/f	Mon Jun 18 15:25:57 2018 +0530
@@ -84,7 +84,7 @@
             if opts.mode and not islink:
                 facts.append(b'mode=%o' % (stat.st_mode & 0o777))
             if opts.links:
-                facts.append(b'links=%s' % stat.st_nlink)
+                facts.append(b'links=%d' % stat.st_nlink)
             if opts.newer:
                 # mtime might be in whole seconds so newer file might be same
                 if stat.st_mtime >= os.stat(opts.newer).st_mtime: