[Test] Fix the print format of bulk test.
authorDongju Chae <dongju.chae@samsung.com>
Tue, 27 Jul 2021 01:56:57 +0000 (10:56 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Tue, 27 Jul 2021 04:34:32 +0000 (13:34 +0900)
This patch fixes the print format of bulk test.
When an error occurs, a weird value can be printed.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
tests/apptests/tvn_triv2_bulk.cc

index 3553132..469e24f 100644 (file)
@@ -99,7 +99,8 @@ main (int argc, char **argv) {
     if (dir->d_name[0] == '.')
       continue;
 
-    cerr << "[APPTEST] " << left << setw (40) << dir->d_name << " Running... ";
+    cerr << "[APPTEST] " << left << std::setfill (' ') << setw (40);
+    cerr << dir->d_name << " Running... ";
 
     /** initialize triv2 device */
     string path (dir_str);