Commit 499a537
committed
Avoid LDAP TAP tests when not built with LDAP
Since `run_misc_tests()` globs the test directories for test modules and
runs them directly, the `if ($ENV{with_ldap} ne 'yes')` bits of the
`Makefile` for `ldap_password_func`, at least, doesn't seem to trigger
properly. So follow the precedent of checking for SSL configuration and
skip LDAP tests when `--with-ldap` (or equivalent) hasn't been
specified.
This presumably wont't come up previously unless TAP tests were enabled
and LDAP was not configured.
While at it, fix a "Use of uninitialized value in pattern match"
warning.1 parent b99f853 commit 499a537
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2479 | 2479 | | |
2480 | 2480 | | |
2481 | 2481 | | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
2482 | 2487 | | |
2483 | 2488 | | |
2484 | 2489 | | |
| |||
2490 | 2495 | | |
2491 | 2496 | | |
2492 | 2497 | | |
| 2498 | + | |
2493 | 2499 | | |
2494 | 2500 | | |
2495 | 2501 | | |
| |||
2507 | 2513 | | |
2508 | 2514 | | |
2509 | 2515 | | |
2510 | | - | |
| 2516 | + | |
2511 | 2517 | | |
2512 | 2518 | | |
2513 | 2519 | | |
| |||
0 commit comments