Renamed test function for library.

This commit is contained in:
Heiko Reese
2021-09-11 02:26:39 +02:00
parent bb67fe5ba2
commit 5a1bd58452
3 changed files with 2 additions and 2 deletions

View File

@ -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.
*/ */

View File

@ -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)