X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllapi_hsm_test.c;h=32998af4f993969766ba072cdcdd1f5e09c20663;hb=a7f48e6c15e28617793d89958c79e9ed8cb73e65;hp=01a701c98afb2cc2750d40f1a1e69d6c41e49bdc;hpb=5309e108582c692f3b60705818fddc4a3b3b1345;p=fs%2Flustre-release.git diff --git a/lustre/tests/llapi_hsm_test.c b/lustre/tests/llapi_hsm_test.c index 01a701c..32998af 100644 --- a/lustre/tests/llapi_hsm_test.c +++ b/lustre/tests/llapi_hsm_test.c @@ -201,7 +201,7 @@ int test5(void) /* Hopefully there is nothing lingering */ for (i = 0; i < 1000; i++) { rc = llapi_hsm_copytool_recv(ctdata, &hal, &msgsize); - ASSERTF(rc == -EWOULDBLOCK, "llapi_hsm_copytool_recv error: %s", + ASSERTF(rc == -EAGAIN, "llapi_hsm_copytool_recv error: %s", strerror(-rc)); } @@ -272,7 +272,7 @@ int test7(void) rc, strerror(errno)); rc = llapi_hsm_copytool_recv(ctdata, &hal, &msgsize); - ASSERTF(rc == -EWOULDBLOCK, "llapi_hsm_copytool_recv error: %s", + ASSERTF(rc == -EAGAIN, "llapi_hsm_copytool_recv error: %s", strerror(-rc)); fds[0].fd = fd;