##// END OF EJS Templates
tests: teach f not to report symlink mode bits...
Matt Mackall -
r23912:7d0aa626 default
parent child Browse files
Show More
@@ -63,7 +63,7 b' def visit(opts, filenames, outfile):'
63 63 stat = os.lstat(f)
64 64 if opts.size and not isdir:
65 65 facts.append('size=%s' % stat.st_size)
66 if opts.mode:
66 if opts.mode and not islink:
67 67 facts.append('mode=%o' % (stat.st_mode & 0777))
68 68 if opts.links:
69 69 facts.append('links=%s' % stat.st_nlink)
@@ -69,7 +69,7 b' Tests of the file helper tool'
69 69 ./bar: file, size=21, mode=755, md5=3b03, sha1=612c
70 70 ./baz: file, size=21, mode=755, md5=3b03, sha1=612c
71 71 ./foo: file, size=4, mode=644, md5=d3b0, sha1=f1d2
72 ./l: link, size=5, mode=777, md5=2faa, sha1=af93
72 ./l: link, size=5, md5=2faa, sha1=af93
73 73 #endif
74 74
75 75 $ f --quiet bar -DL 3
General Comments 0
You need to be logged in to leave comments. Login now