Skip to content

Commit caa36b5

Browse files
committed
Fix test
1 parent 2a32818 commit caa36b5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/libtest/h5tools_test_utils.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ test_populate_ros3_fa(void)
693693
JSVERIFY(FAIL, h5tools_populate_ros3_fapl(&fa, values), "could not fill fapl")
694694
JSVERIFY(H5FD_CURR_ROS3_FAPL_T_VERSION, fa.fa.version, (char *)NULL)
695695
JSVERIFY(false, fa.fa.authenticate, (char *)NULL)
696-
JSVERIFY_STR("", fa.fa.secret_id, (char *)NULL)
697-
JSVERIFY_STR("", fa.fa.secret_key, (char *)NULL)
696+
JSVERIFY_STR("y", fa.fa.secret_id, (char *)NULL)
697+
JSVERIFY_STR("z", fa.fa.secret_key, (char *)NULL)
698698
JSVERIFY_STR("", fa.fa.aws_region, (char *)NULL)
699699
JSVERIFY_STR("", fa.fa.session_token, (char *)NULL)
700700
JSVERIFY_STR("", fa.ep_url, (char *)NULL)
@@ -771,7 +771,7 @@ test_populate_ros3_fa(void)
771771
JSVERIFY(false, fa.fa.authenticate, (char *)NULL)
772772
JSVERIFY_STR("", fa.fa.secret_id, (char *)NULL)
773773
JSVERIFY_STR("", fa.fa.secret_key, (char *)NULL)
774-
JSVERIFY_STR("z", fa.fa.aws_region, (char *)NULL)
774+
JSVERIFY_STR("", fa.fa.aws_region, (char *)NULL)
775775
JSVERIFY_STR("", fa.fa.session_token, (char *)NULL)
776776
JSVERIFY_STR("", fa.ep_url, (char *)NULL)
777777
}
@@ -829,12 +829,12 @@ test_populate_ros3_fa(void)
829829
printf("empty key; non-empty region and id\n");
830830
}
831831

832-
JSVERIFY(SUCCEED, h5tools_populate_ros3_fapl(&fa, values), "could not fill fapl")
832+
JSVERIFY(FAIL, h5tools_populate_ros3_fapl(&fa, values), "could not fill fapl")
833833
JSVERIFY(H5FD_CURR_ROS3_FAPL_T_VERSION, fa.fa.version, (char *)NULL)
834-
JSVERIFY(true, fa.fa.authenticate, (char *)NULL)
835-
JSVERIFY_STR("x", fa.fa.secret_id, (char *)NULL)
834+
JSVERIFY(false, fa.fa.authenticate, (char *)NULL)
835+
JSVERIFY_STR("", fa.fa.secret_id, (char *)NULL)
836836
JSVERIFY_STR("", fa.fa.secret_key, (char *)NULL)
837-
JSVERIFY_STR("y", fa.fa.aws_region, (char *)NULL)
837+
JSVERIFY_STR("", fa.fa.aws_region, (char *)NULL)
838838
JSVERIFY_STR("", fa.fa.session_token, (char *)NULL)
839839
JSVERIFY_STR("", fa.ep_url, (char *)NULL)
840840
}
@@ -910,7 +910,7 @@ test_populate_ros3_fa(void)
910910
JSVERIFY(false, fa.fa.authenticate, (char *)NULL)
911911
JSVERIFY_STR("x", fa.fa.secret_id, (char *)NULL)
912912
JSVERIFY_STR("", fa.fa.secret_key, (char *)NULL)
913-
JSVERIFY_STR("y", fa.fa.aws_region, (char *)NULL)
913+
JSVERIFY_STR("", fa.fa.aws_region, (char *)NULL)
914914
JSVERIFY_STR("", fa.fa.session_token, (char *)NULL)
915915
JSVERIFY_STR("", fa.ep_url, (char *)NULL)
916916
}

0 commit comments

Comments
 (0)