summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-ask-password-api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-ask-password-api.c b/src/test/test-ask-password-api.c
index ccf3cee9f3..38afe0c6ef 100644
--- a/src/test/test-ask-password-api.c
+++ b/src/test/test-ask-password-api.c
@@ -12,9 +12,10 @@ TEST(ask_password) {
.tty_fd = -EBADF,
.message = "hello?",
.keyring = "da key",
+ .until = USEC_INFINITY,
};
- r = ask_password_tty(&req, /* until= */ 0, /* flags= */ ASK_PASSWORD_CONSOLE_COLOR, &ret);
+ r = ask_password_tty(&req, /* flags= */ ASK_PASSWORD_CONSOLE_COLOR, &ret);
if (r == -ECANCELED)
ASSERT_NULL(ret);
else {