Skip to content

Commit 3bc00b7

Browse files
committed
Fix ipc_devdax_prov_consumer
The consumer should use another /dev/dax device than the producer. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 80e55db commit 3bc00b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ipc_devdax_prov_consumer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ int main(int argc, char *argv[]) {
2121

2222
int port = atoi(argv[1]);
2323

24-
char *path = getenv("UMF_TESTS_DEVDAX_PATH");
24+
char *path = getenv("UMF_TESTS_DEVDAX_PATH_2");
2525
if (path == NULL || path[0] == 0) {
26-
fprintf(stderr, "Test skipped, UMF_TESTS_DEVDAX_PATH is not set\n");
26+
fprintf(stderr, "Test skipped, UMF_TESTS_DEVDAX_PATH_2 is not set\n");
2727
return 0;
2828
}
2929

30-
char *size = getenv("UMF_TESTS_DEVDAX_SIZE");
30+
char *size = getenv("UMF_TESTS_DEVDAX_SIZE_2");
3131
if (size == NULL || size[0] == 0) {
32-
fprintf(stderr, "Test skipped, UMF_TESTS_DEVDAX_SIZE is not set\n");
32+
fprintf(stderr, "Test skipped, UMF_TESTS_DEVDAX_SIZE_2 is not set\n");
3333
return 0;
3434
}
3535

0 commit comments

Comments
 (0)