#include "strv.h"
#include "tests.h"
-static void test_ask_password(void) {
+TEST(ask_password) {
int r;
_cleanup_strv_free_ char **ret = NULL;
}
}
-int main(int argc, char **argv) {
- test_setup_logging(LOG_DEBUG);
-
- test_ask_password();
- return EXIT_SUCCESS;
-}
+DEFINE_TEST_MAIN(LOG_DEBUG);