mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 07:53:56 +01:00
Renamed test function for library.
This commit is contained in:
@ -20,7 +20,7 @@ char *string2hex(unsigned char *input, size_t length) {
|
|||||||
* 1. Add this code to the first “breakpoint”:
|
* 1. Add this code to the first “breakpoint”:
|
||||||
* log_write(0, LOG_MAIN, "pid: %d", getpid()); int busywait = 0; while (busywait == 0) {}
|
* log_write(0, LOG_MAIN, "pid: %d", getpid()); int busywait = 0; while (busywait == 0) {}
|
||||||
* 2. Compile.
|
* 2. Compile.
|
||||||
* 3. Run “exim -be […]” to call the lib; see simple_exim_test.sh for details.
|
* 3. Run “exim -be […]” to call the lib; see test_libexim-encrypt-dlfunc.sh for details.
|
||||||
* 4. Read exim pid from log output. Attach to the looping exim process with “gdb -p PID”
|
* 4. Read exim pid from log output. Attach to the looping exim process with “gdb -p PID”
|
||||||
* 5. Prepare breakpoints, watches, etc. Set busywait to 1 and continue.
|
* 5. Prepare breakpoints, watches, etc. Set busywait to 1 and continue.
|
||||||
*/
|
*/
|
||||||
@ -16,6 +16,6 @@ shared_library('exim-encrypt-dlfunc', 'libexim-encrypt-dlfunc.c',
|
|||||||
dependencies : [ sodium_deps ],
|
dependencies : [ sodium_deps ],
|
||||||
install: true)
|
install: true)
|
||||||
|
|
||||||
simple_exim_test = find_program('simple_exim_test.sh')
|
simple_exim_test = find_program('test_libexim-encrypt-dlfunc.sh')
|
||||||
test('simple test', simple_exim_test)
|
test('simple test', simple_exim_test)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user