aboutsummaryrefslogtreecommitdiff
path: root/tests/ubi-tests/mkvol_paral.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-16 09:56:52 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-16 10:09:54 +0200
commit7343528e5821c69224000ed7cfd3e8aaf47b7a93 (patch)
tree8f283ceefef028996c0ce1b5de9bf5214ed8752c /tests/ubi-tests/mkvol_paral.c
parent98ed9f3360bb5cbfb02d2cb82ee3167fce437772 (diff)
ubi-tests: switch to using common.h from the top level
Sorry, the commit is huge, I just did not have time to split it. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_paral.c')
-rw-r--r--tests/ubi-tests/mkvol_paral.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ubi-tests/mkvol_paral.c b/tests/ubi-tests/mkvol_paral.c
index 4a6ae46..95b5e10 100644
--- a/tests/ubi-tests/mkvol_paral.c
+++ b/tests/ubi-tests/mkvol_paral.c
@@ -25,7 +25,8 @@
#include <string.h>
#include <pthread.h>
#include "libubi.h"
-#define TESTNAME "mkvol_paral"
+#define PROGRAM_NAME "mkvol_paral"
+#include "common.h"
#include "helpers.h"
#define THREADS_NUM 4
@@ -45,7 +46,7 @@ static void * the_thread(void *ptr)
{
int n = (long)ptr, iter = iterations;
struct ubi_mkvol_request req;
- const char *name = TESTNAME ":the_thread()";
+ const char *name = PROGRAM_NAME ":the_thread()";
char nm[strlen(name) + 50];
req.alignment = 1;