base/dispatch-x86ish.S: Fix build failure from incompetent cherry-pick.
[catacomb] / math / mpx-mul4-test.c
index 883c4fc..5d5b4d5 100644 (file)
@@ -116,7 +116,7 @@ TESTOPS(DECLSTUB)
                                                                        \
     type_hex.cvt(buf, &dd);                                            \
     if (dd.len != N(x->w)*nby) die(1, "invalid length for " #ty);      \
-    dstr_ensure(d, sizeof(*x));                                                \
+    dstr_ensure(d, sizeof(*x)); d->len = sizeof(*x);                   \
     x = (ty *)d->buf; p = (const octet *)dd.buf;                       \
     for (i = 0; i < N(x->w); i++) { x->w[i] = ld(p); p += nby; }       \
     dstr_destroy(&dd);                                                 \
@@ -284,7 +284,7 @@ int main(int argc, char *argv[])
   sub_init();
   if (!cpu_features_p())
     { fprintf(stderr, "required cpu feature not available\n"); exit(77); }
-  test_run(argc, argv, tests, SRCDIR "/t/mul4");
+  test_run(argc, argv, tests, SRCDIR "/t/mpx-mul4");
   return (0);
 }