Fix test
This commit was SVN r26249.
Этот коммит содержится в:
родитель
48de3a2501
Коммит
36aab6db63
@ -8,7 +8,6 @@
|
|||||||
#include "support.h"
|
#include "support.h"
|
||||||
|
|
||||||
#include "opal/class/opal_bitmap.h"
|
#include "opal/class/opal_bitmap.h"
|
||||||
#include "opal/util/opal_sos.h"
|
|
||||||
#include "opal/constants.h"
|
#include "opal/constants.h"
|
||||||
|
|
||||||
#define BSIZE 26
|
#define BSIZE 26
|
||||||
@ -63,12 +62,12 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
PRINT_VALID_ERR;
|
PRINT_VALID_ERR;
|
||||||
err = opal_bitmap_init(NULL, 2);
|
err = opal_bitmap_init(NULL, 2);
|
||||||
if (OPAL_SOS_GET_ERROR_CODE(err) == OPAL_ERR_BAD_PARAM)
|
if (err == OPAL_ERR_BAD_PARAM)
|
||||||
fprintf(error_out, "ERROR: Initialization of bitmap failed\n\n");
|
fprintf(error_out, "ERROR: Initialization of bitmap failed\n\n");
|
||||||
|
|
||||||
PRINT_VALID_ERR;
|
PRINT_VALID_ERR;
|
||||||
err = opal_bitmap_init(&bm, -1);
|
err = opal_bitmap_init(&bm, -1);
|
||||||
if (OPAL_SOS_GET_ERROR_CODE(err) == OPAL_ERR_BAD_PARAM)
|
if (err == OPAL_ERR_BAD_PARAM)
|
||||||
fprintf(error_out, "ERROR: Initialization of bitmap failed \n\n");
|
fprintf(error_out, "ERROR: Initialization of bitmap failed \n\n");
|
||||||
|
|
||||||
err = opal_bitmap_init(&bm, BSIZE);
|
err = opal_bitmap_init(&bm, BSIZE);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user