| 636 | } |
| 637 | |
| 638 | static void restore_test_env(const char *name, char *saved) { |
| 639 | if (saved) { |
| 640 | cbm_setenv(name, saved, 1); |
| 641 | free(saved); |
| 642 | } else { |
| 643 | cbm_unsetenv(name); |
| 644 | } |
| 645 | } |
| 646 | |
| 647 | /* An unreadable CBM_HOOK_DEADLINE_MS must fall back to the DEFAULT budget, not |
| 648 | * to the shortest one the setting allows. |
no test coverage detected