Files
scylladb/test
Pavel Emelyanov b239e0d368 test/lib: Add getenv_safe() helper
The helper is like ::getenv() but checks if the variable exists and
throws descriptive exception. So instead of

    fatal error: in "...": std::logic_error: basic_string: construction from null is not valid

one could get something like

   fatal error: in "...": std::logic_error: Environment variable ... not set

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
2023-04-19 12:49:26 +03:00
..
2023-04-19 12:49:26 +03:00
2023-03-21 15:43:00 +02:00
2023-03-17 12:56:09 +08:00