Signed-off-by: Josh Durgin <jdurgin@redhat.com>
expected_desc = [
'',
'',
- ' install ceph',
+ 'install ceph',
'',
- ' single node cluster',
+ 'single node cluster',
'',
- ' c/c++ librbd api tests with default settings',
- ' c/c++ librbd api tests with format 1 images',
+ 'c/c++ librbd api tests with default settings',
+ 'c/c++ librbd api tests with format 1 images',
]
'',
'',
'',
- ' default',
- ' none',
+ 'default',
+ 'none',
]
if line.startswith(prefix):
if result[filt]:
result[filt] += '\n'
- result[filt] += line[len(prefix):].rstrip('\n')
+ result[filt] += line[len(prefix):].rstrip('\n').strip()
return result
def tree_with_info(cur_dir, filters, prefix, rows,