changeset 23911 | 593a5cd709a2 |
parent 23860 | bead0c7b4f68 |
child 23912 | 7d0aa6269ece |
--- a/tests/f Sat Jan 17 13:44:43 2015 -0800 +++ b/tests/f Sat Jan 17 13:53:16 2015 -0800 @@ -61,7 +61,7 @@ facts.append('type unknown') if not isstdin: stat = os.lstat(f) - if opts.size: + if opts.size and not isdir: facts.append('size=%s' % stat.st_size) if opts.mode: facts.append('mode=%o' % (stat.st_mode & 0777))