summaryrefslogtreecommitdiff
path: root/regress/keys-command.sh
Commit message (Collapse)AuthorAgeFilesLines
* upstream: Use "skip" instead of "fatal"dtucker@openbsd.org2021-10-011-4/+2
| | | | | | | | if SUDO isn't set for the *-command tests. This means running "make tests" without SUDO set will perform all of the tests that it can instead of failing on the ones it cannot run. OpenBSD-Regress-ID: bd4dbbb02f34b2e8c890558ad4a696248def763a
* upstream: Add a function to skip remaining tests.dtucker@openbsd.org2021-09-011-2/+2
| | | | | | | Many tests skip tests for various reasons but not in a consistent way and don't always clean up, so add that and switch the tests that do that over. OpenBSD-Regress-ID: 72d2ec90a3ee8849486956a808811734281af735
* upstream: Switch keys-command test from rsa to ed25519 since it'sdtucker@openbsd.org2019-07-251-3/+3
| | | | | | supported for both OpenSSL and non-OpenSSL builds. OpenBSD-Regress-ID: 174be4be876edd493e4a5c851e5bc579885e7a0a
* upstream: Append pid to temp files in /var/run and set a cleanupdtucker@openbsd.org2018-11-221-4/+3
| | | | | | | trap for them. This allows multiple instances of tests to run without colliding. OpenBSD-Regress-ID: 57add105ecdfc54752d8003acdd99eb68c3e0b4c
* Fix missed RCSID mergesDamien Miller2017-10-201-1/+1
|
* upstream commitbluhm@openbsd.org2016-10-011-1/+1
| | | | | | | | Allow to run ssh regression tests as root. If the user is already root, the test should not expect that SUDO is set. If ssh needs another user, use sudo or doas to switch from root if necessary. OK dtucker@ Upstream-Regress-ID: b464e55185ac4303529e3e6927db41683aaeace2
* Disable tests where fs perms are incorrectDamien Miller2016-02-231-0/+6
| | | | | | | | | | | Some tests have strict requirements on the filesystem permissions for certain files and directories. This adds a regress/check-perm tool that copies the relevant logic from sshd to exactly test the paths in question. This lets us skip tests when the local filesystem doesn't conform to our expectations rather than continuing and failing the test run. ok dtucker@
* upstream commitdjm@openbsd.org2015-05-211-11/+48
| | | | | | regress test for AuthorizedKeysCommand arguments Upstream-Regress-ID: bbd65c13c6b3be9a442ec115800bff9625898f12
* - dtucker@cvs.openbsd.org 2012/12/06 06:06:54Darren Tucker2012-12-071-5/+11
| | | | | | | | | | | [regress/keys-command.sh] Fix some problems with the keys-command test: - use string comparison rather than numeric comparison - check for existing KEY_COMMAND file and don't clobber if it exists - clean up KEY_COMMAND file if we do create it. - check that KEY_COMMAND is executable (which it won't be if eg /var/run is mounted noexec). ok djm.
* - djm@cvs.openbsd.org 2012/11/22 22:49:30Damien Miller2012-12-031-0/+33
[regress/Makefile regress/keys-command.sh] regress for AuthorizedKeysCommand; hints from markus@