From 82a214336edfc9135a924d2b9ad8f621b6a03cec Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 7 Aug 2021 21:23:45 -0700 Subject: [PATCH] tests: Check return of list_recurse. --- src/commands.c | 2 +- tests/acl.test | 4 ++-- tests/list.test | 2 +- tests/store.test | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands.c b/src/commands.c index 1e06b414..863f8067 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1470,7 +1470,7 @@ do_delete (assuan_context_t ctx, char *line) /* Won't update cdata->plaintext. Other clients are working on the original or * copy of the same document. The first client to SAVE wins and requires others - * to reopen the data file do to a checksum error. */ + * to reopen the data file due to a checksum error. */ static gpg_error_t copy_on_write (struct client_s *client) { diff --git a/tests/acl.test b/tests/acl.test index a351bbaf..a5a9b06b 100755 --- a/tests/acl.test +++ b/tests/acl.test @@ -200,7 +200,7 @@ test_19() { ATTR SET _target zzz a a EOF list_recurse acl - test_result $test_n $e acl "ATTR: Create target to visible restricted root." + test_result $test_n $? acl "ATTR: Create target to visible restricted root." } test_20() { @@ -222,7 +222,7 @@ test_21() { run_pwmc "acl" >result $DEVNULL <