]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Don't use sysbail to report libdl errors in test suite
authorRuss Allbery <eagle@eyrie.org>
Thu, 5 Dec 2013 01:50:58 +0000 (17:50 -0800)
committerRuss Allbery <eagle@eyrie.org>
Thu, 5 Dec 2013 07:28:08 +0000 (23:28 -0800)
tests/plugin/heimdal-t.c

index c4bafc98d18e37fab679fb943050252301b534c8..903fed965370ab2ba6ff64badbc5f44498d178db 100644 (file)
@@ -68,13 +68,13 @@ load_plugin(void)
         bail("cannot find plugin");
     handle = dlopen(path, RTLD_NOW);
     if (handle == NULL)
-        sysbail("cannot dlopen %s: %s", path, dlerror());
+        bail("cannot dlopen %s: %s", path, dlerror());
     test_file_path_free(path);
 
     /* Find the dispatch table and do a basic sanity check. */
     verifier = dlsym(handle, "kadm5_password_verifier");
     if (verifier == NULL)
-        sysbail("cannot get kadm5_password_verifier symbol: %s", dlerror());
+        bail("cannot get kadm5_password_verifier symbol: %s", dlerror());
     if (verifier->funcs == NULL || verifier->funcs[0].func == NULL)
         bail("no verifier functions in module");