diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-04-15 09:49:19 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-04-15 13:35:42 +0200 |
commit | 53c2c4562555cbc00b2b78cb4394ee3f2b7f0729 (patch) | |
tree | ed9f839bedfafab9a4362557f0f080b3dbcac730 | |
parent | e478471dd54835b88d68d6d5b372e00b311807a9 (diff) | |
download | lvm2-53c2c4562555cbc00b2b78cb4394ee3f2b7f0729.tar.gz |
tests: align test result in batch mode
-rw-r--r-- | test/lib/brick-shelltest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/brick-shelltest.h b/test/lib/brick-shelltest.h index 362ee8a2d..54114db55 100644 --- a/test/lib/brick-shelltest.h +++ b/test/lib/brick-shelltest.h @@ -921,7 +921,8 @@ struct TestCase { if ( options.batch ) { int spaces = std::max( 64 - int(pretty().length()), 0 ); - progress( Last ) << " " << std::string( spaces, '.' ) << " " << r; + progress( Last ) << " " << std::string( spaces, '.' ) << " " + << std::left << std::setw( 9 ) << std::setfill( ' ' ) << r; if ( r != Journal::SKIPPED ) progress( First ) << " " << rusage(); progress( Last ) << std::endl; |