All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Boeckel <mathstuf@gmail.com>
To: keyrings@vger.kernel.org
Subject: [PATCH 00/13] Test suite tidiness
Date: Thu, 29 Aug 2019 20:35:23 +0000	[thread overview]
Message-ID: <20190829203542.4410-1-mathstuf@gmail.com> (raw)

A collection of minor patches to the test suite I discovered while
porting to the Rust bindings I've been working on:

    https://github.com/mathstuf/rust-keyutils
    https://github.com/mathstuf/rust-keyutils/pull/34 (for the porting of the test suite)

Mostly typos, relocating some tests to what seems to be more sensible
location, fixing some copy/pasta, and adding some missed test cases.
The patches were developed against master, but have been rebased here
against `next` to make it easier to add to it. If that is incorrect, I
can rebase onto `master` and respin.

Note that I'm sending these for review now, but I'll be on vacation for
a few weeks. Feel free to leave review comments; I'll act on them once I
return.

Thanks,

--Ben

Ben Boeckel (13):
  tests/toolbox: detect endianness with PIE executables
  tests: fix some typos in marker lines
  tests: remove some trailing whitespace
  keyctl: unify spelling of "unparsable"
  tests: fix typos in test comments
  tests/revoke: test key revokation in the revoke tests
  tests/timeout: test actions on an expired keyring as well
  tests/instantiating: test the unlinked keyid
  test/instantiating: test bad arguments for `keyctl reject`
  tests/reading: fix test comment
  tests/reading: remove revokation test
  tests/search: test searching with a mismatched type
  tests/search: test a found key without search permissions

 keyctl.c                                      |  6 ++--
 tests/keyctl/add/bad-args/runtest.sh          |  2 +-
 tests/keyctl/clear/valid/runtest.sh           |  2 +-
 tests/keyctl/dh_compute/bad-args/runtest.sh   |  2 +-
 .../keyctl/instantiating/bad-args/runtest.sh  | 20 ++++++++++--
 tests/keyctl/link/recursion/runtest.sh        |  2 +-
 tests/keyctl/newring/bad-args/runtest.sh      |  2 +-
 tests/keyctl/padd/bad-args/runtest.sh         |  2 +-
 tests/keyctl/pupdate/userupdate/runtest.sh    | 10 +++---
 tests/keyctl/reading/valid/runtest.sh         |  8 +----
 tests/keyctl/requesting/bad-args/runtest.sh   |  2 +-
 tests/keyctl/requesting/piped/runtest.sh      |  4 +--
 tests/keyctl/requesting/valid/runtest.sh      |  4 +--
 tests/keyctl/revoke/valid/runtest.sh          | 20 ++++++++++++
 tests/keyctl/search/bad-args/runtest.sh       |  2 +-
 tests/keyctl/search/valid/runtest.sh          | 13 +++++---
 tests/keyctl/session/bad-args/runtest.sh      |  2 +-
 tests/keyctl/timeout/valid/runtest.sh         | 32 +++++++++----------
 tests/keyctl/unlink/all/runtest.sh            |  2 +-
 tests/keyctl/unlink/valid/runtest.sh          |  4 +--
 tests/keyctl/update/userupdate/runtest.sh     | 14 ++++----
 tests/toolbox.inc.sh                          | 26 +++++++++++++--
 22 files changed, 117 insertions(+), 64 deletions(-)

-- 
2.21.0

             reply	other threads:[~2019-08-29 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-29 20:35 Ben Boeckel [this message]
2019-08-29 20:41 ` [PATCH 00/13] Test suite tidiness Ben Boeckel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190829203542.4410-1-mathstuf@gmail.com \
    --to=mathstuf@gmail.com \
    --cc=keyrings@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.