]> git.ipfire.org Git - thirdparty/krb5.git/commit
Exercise the dynamic loading/unloading of libraries a bit more.
authorKen Raeburn <raeburn@mit.edu>
Wed, 9 Feb 2005 00:50:50 +0000 (00:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 9 Feb 2005 00:50:50 +0000 (00:50 +0000)
commitb3f85abbd8dc93d14f18bf3fddf315e826e05b72
tree5887ef4d21f95a657ebf8c1ed78bbd5887fb1ef6
parent36f1eda337a7fbbdb53fd0b2c92e2f32085aca78
Exercise the dynamic loading/unloading of libraries a bit more.
Athena's old IRIX systems fail this test now.

* t_loader.c (verbose): New variable.
(do_close_1): Drop filename argument.  Change messages accordingly, and only
display them if verbose.  Line up "done" messages vertically.
(do_open_1): Likewise.  Add library version argument, used when on AIX, in
combination with RTLD_MEMBER.
(do_open): Don't pass filename.  Do pass library version; callers changed.
(do_close): Don't pass filename.
(get_sym_1): Renamed from get_sym, added line number argument.  Print messages
if verbose.
(get_sym): New macro.
(xbasename): Function deleted.
(HORIZ): New macro.
(main): Turn off output buffering.  Print messages before and after calling
functions in loaded libraries.  Disable first set of tests, that don't call any
functions.  Test gssapi library without loading any other libraries, then test
it after loading com_err, and unload com_err first.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17093 dc483132-0cff-0310-8789-dd5450dbe970
src/tests/shlib/ChangeLog
src/tests/shlib/t_loader.c