Closed grondo closed 11 months ago
Maybe we need something like this?
diff --git a/src/common/libkvs/test/kvs_txn.c b/src/common/libkvs/test/kvs_txn.c
index 3de3c3ba3..a65cf5163 100644
--- a/src/common/libkvs/test/kvs_txn.c
+++ b/src/common/libkvs/test/kvs_txn.c
@@ -379,7 +379,7 @@ void test_corner_cases (void)
"flux_kvs_txn_put fails w/ EINVAL on bad inputs");
errno = 0;
- rc = flux_kvs_txn_vpack (NULL, 0, NULL, NULL, NULL);
+ rc = flux_kvs_txn_vpack (NULL, 0, NULL, NULL, (va_list){0});
ok (rc < 0 && errno == EINVAL,
"flux_kvs_txn_vpack fails w/ EINVAL on bad inputs");
I tested this patch out in the buildfarm and it appears to have addressed the problem there.
The
kvs_txn.c
unit test started failing to build under the rpmbuild environment on aarch64: