Darren Tucker
4430a86c14
- djm@cvs.openbsd.org 2012/06/01 00:47:35
...
[multiplex.sh forwarding.sh]
append to rather than truncate test log; bz#2013 from openssh AT
roumenpetrov.
2012-06-30 15:03:28 +10:00
Darren Tucker
301390316c
- dtucker@cvs.openbsd.org 2012/05/13 01:42:32
...
[regress/addrmatch.sh]
Add "Match LocalAddress" and "Match LocalPort" to sshd and adjust tests
to match. Feedback and ok djm@ markus@.
2012-06-30 15:01:22 +10:00
Darren Tucker
d0d3fff483
- (dtucker) [regress/addrmatch.sh] skip tests when running on a non-ipv6
...
platform rather than exiting early, so that we still clean up and return
status to test-exec.sh
2012-04-27 10:55:39 +10:00
Tim Rice
a3f297de91
- (tim) [regress/keytype.sh] stderr redirection needs to be inside back quote
...
to work. Spotted by Angel Gonzalez
2012-02-14 23:01:42 -08:00
Damien Miller
6efd94f32e
- (djm) [regress/connect-privsep.sh regress/test-exec.sh] demote fatal
...
regress errors for the sandbox to warnings. ok tim dtucker
2011-09-04 19:04:16 +10:00
Damien Miller
2df1bec086
- (djm) [regress/cipher-speed.sh regress/try-ciphers.sh] disable HMAC-SHA2
...
MAC tests for platforms that hack EVP_SHA2 support
2011-08-17 12:25:46 +10:00
Damien Miller
062fa30532
- djm@cvs.openbsd.org 2011/08/02 01:23:41
...
[regress/cipher-speed.sh regress/try-ciphers.sh]
add SHA256/SHA512 based HMAC modes
2011-08-17 12:10:02 +10:00
Damien Miller
faf4d80420
- markus@cvs.openbsd.org 2011/06/30 22:44:43
...
[connect-privsep.sh]
test with sandbox enabled; ok djm@
2011-08-17 12:09:19 +10:00
Damien Miller
9231c8bde4
- dtucker@cvs.openbsd.org 2011/06/03 05:35:10
...
[regress/cfgmatch.sh]
use OBJ to find test configs, patch from Tim Rice
2011-08-17 12:08:15 +10:00
Tim Rice
bc481570d1
- (tim) [regress/cfgmatch.sh] Build/test out of tree fix.
2011-06-02 22:26:19 -07:00
Darren Tucker
bf4d05a37c
- dtucker@cvs.openbsd.org 2011/06/03 00:29:52
...
[regress/dynamic-forward.sh]
Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.
2011-06-03 14:19:02 +10:00
Darren Tucker
75e035c34e
- dtucker@cvs.openbsd.org 2011/05/31 02:03:34
...
[regress/dynamic-forward.sh]
work around startup and teardown races; caught by deraadt
2011-06-03 14:18:17 +10:00
Darren Tucker
260c8fbc4d
- dtucker@cvs.openbsd.org 2011/05/31 02:01:58
...
[regress/dynamic-forward.sh]
back out revs 1.6 and 1.5 since it's not reliable
2011-06-03 14:17:27 +10:00
Damien Miller
8cb3587336
- djm@cvs.openbsd.org 2011/05/23 03:31:31
...
[regress/cfgmatch.sh]
include testing of multiple/overridden AuthorizedKeysFiles
refactor to simply daemon start/stop and get rid of racy constructs
2011-05-29 21:59:10 +10:00
Damien Miller
acacced70b
- dtucker@cvs.openbsd.org 2011/05/20 06:32:30
...
[dynamic-forward.sh]
fix dumb error in dynamic-forward test
2011-05-20 19:08:40 +10:00
Damien Miller
7b9451f382
- dtucker@cvs.openbsd.org 2011/05/20 05:19:50
...
[dynamic-forward.sh]
Prevent races in dynamic forwarding test; ok djm
2011-05-20 19:08:11 +10:00
Damien Miller
3045b45a03
- djm@cvs.openbsd.org 2011/05/20 02:43:36
...
[cert-hostkey.sh]
another attempt to generate a v00 ECDSA key that broke the test
ID sync only - portable already had this somehow
2011-05-20 19:07:45 +10:00
Damien Miller
f67188fe13
- djm@cvs.openbsd.org 2011/05/17 07:13:31
...
[regress/cert-userkey.sh]
fatal() if asked to generate a legacy ECDSA cert (these don't exist)
and fix the regress test that was trying to generate them :)
2011-05-20 19:06:48 +10:00
Damien Miller
f22019bdbf
- (djm) [Makefile.in WARNING.RNG aclocal.m4 buildpkg.sh.in configure.ac]
...
[entropy.c ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c]
[ssh-keysign.c ssh-pkcs11-helper.c ssh-rand-helper.8 ssh-rand-helper.c]
[ssh.c ssh_prng_cmds.in sshd.c contrib/aix/buildbff.sh]
[regress/README.regress] Remove ssh-rand-helper and all its
tentacles. PRNGd seeding has been rolled into entropy.c directly.
Thanks to tim@ for testing on affected platforms.
2011-05-05 13:48:37 +10:00
Tim Rice
6dfcd34042
- (tim) [regress/agent-getpeereid.sh] shell portability fix.
2011-01-16 22:53:56 -08:00
Damien Miller
58497780ab
- (djm) [configure.ac regress/agent-getpeereid.sh regress/multiplex.sh]
...
[regress/sftp-glob.sh regress/test-exec.sh] Rework how feature tests are
disabled on platforms that do not support them; add a "config_defined()"
shell function that greps for defines in config.h and use them to decide
on feature tests.
Convert a couple of existing grep's over config.h to use the new function
Add a define "FILESYSTEM_NO_BACKSLASH" for filesystem that can't represent
backslash characters in filenames, enable it for Cygwin and use it to turn
of tests for quotes backslashes in sftp-glob.sh.
based on discussion with vinschen AT redhat.com and dtucker@; ok dtucker@
2011-01-17 16:17:09 +11:00
Damien Miller
1ccbfa88b1
- (djm) [regress/agent-getpeereid.sh] leave stdout attached when running
...
ssh-add to avoid $SUDO failures on Linux
2011-01-17 11:52:40 +11:00
Damien Miller
fd3669eb26
- (djm) [regress/agent-ptrace.sh] Fix false failure on OS X by adding
...
its unique snowflake of a gdb error to the ones we look for.
2011-01-17 11:20:18 +11:00
Damien Miller
369c0e8eef
- (djm) [regress/Makefile] use $TEST_SSH_KEYGEN instead of the one in
...
$PATH, fix cleanup of droppings; reported by openssh AT
roumenpetrov.info; ok dtucker@
2011-01-17 10:51:40 +11:00
Darren Tucker
50c61f88ab
- (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based
...
on configurations that don't have it.
2011-01-16 18:28:09 +11:00
Tim Rice
c5c346b101
- (tim) [regress/cert-hostkey.sh] Add missing TEST_SSH_ECC guard around some
...
ecdsa bits.
2011-01-13 22:36:14 -08:00
Tim Rice
02d99da976
- (tim) [regress/cert-hostkey.sh] Typo. Missing $ on variable name.
2011-01-13 22:20:27 -08:00
Damien Miller
5278806e39
- (djm) [regress/kextype.sh] Testing diffie-hellman-group-exchange-sha256
...
should not depend on ECC support
2011-01-13 22:05:14 +11:00
Damien Miller
cbaf8e6ec1
- (djm) [regress/Makefile] add a few more generated files to the clean
...
target
2011-01-13 21:08:27 +11:00
Tim Rice
076a3b9ced
- (tim) [regress/host-expand.sh] Fix for building outside of read only
...
source tree.
2011-01-10 12:56:26 -08:00
Damien Miller
996384d500
- (djm) [regress/keytype.sh] s/echo -n/echon/ to repair failing regress
...
test on OSX and others. Reported by imorgan AT nas.nasa.gov
2011-01-08 21:58:20 +11:00
Damien Miller
7d06b00032
- djm@cvs.openbsd.org 2011/01/06 22:46:21
...
[regress/Makefile regress/host-expand.sh]
regress test for LocalCommand %n expansion from bert.wesarg AT
googlemail.com; ok markus@
2011-01-07 09:54:20 +11:00
Damien Miller
322125b960
- (djm) [regress/cert-hostkey.sh regress/cert-userkey.sh] fix shell test
...
for no-ECC case. Patch from cristian.ionescu-idbohrn AT axis.com
2011-01-07 09:50:08 +11:00
Darren Tucker
bf5fec1bc6
Id sync
2010-12-05 10:34:08 +11:00
Darren Tucker
4288c53d04
- djm@cvs.openbsd.org 2010/12/04 00:21:19
...
[regress/sftp-cmds.sh]
adjust for hard-link support
2010-12-05 09:45:50 +11:00
Darren Tucker
7e1a5a4e1b
- (dtucker) [regress/Makefile] Id sync.
2010-12-05 09:29:31 +11:00
Tim Rice
e426f5e932
- (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin.
...
Feedback from dtucker@
2010-11-08 09:15:14 -08:00
Tim Rice
c10aeaa8f2
- (tim) [regress/kextype.sh] Shell portability fix.
2010-11-07 13:03:11 -08:00
Tim Rice
522262f8b3
- (tim) [regress/Makefile] Fixes to allow building/testing outside source
...
tree.
2010-11-07 13:00:27 -08:00
Darren Tucker
f619d1cad9
- (dtucker) [regress/kextype.sh] Make sha256 test depend on ECC. This is not
...
strictly correct since while ECC requires sha256 the reverse is not true
however it does prevent spurious test failures.
2010-11-05 18:41:50 +11:00
Darren Tucker
345178d951
- (dtucker) [regress/kextype.sh] Add missing "test".
2010-11-05 18:35:52 +11:00
Darren Tucker
eab5f0df90
- (dtucker) [Makefile configure.ac regress/Makefile regress/keytype.sh]
...
Import recent changes to regress/Makefile, pass a flag to enable ECC tests
from configure through to regress/Makefile and use it in the tests.
2010-11-05 18:23:38 +11:00
Darren Tucker
b69e033e67
- (dtucker) [regress/keytype.sh] Import new test.
2010-11-05 18:19:15 +11:00
Damien Miller
3a0e9f6479
- djm@cvs.openbsd.org 2010/09/22 12:26:05
...
[regress/Makefile regress/kextype.sh]
regress test for each of the key exchange algorithms that we support
2010-11-05 10:16:34 +11:00
Darren Tucker
d633fef471
- (dtucker) [regress/cert-userkey.sh] Disable ECC-based tests on platforms
...
which don't have ECC support in libcrypto.
2010-10-24 11:33:07 +11:00
Darren Tucker
bfd9b1be41
- (dtucker) [regress/cert-hostkey.sh] Disable ECC-based tests on platforms
...
which don't have ECC support in libcrypto.
2010-10-24 11:19:26 +11:00
Damien Miller
6fd2d7de4b
- djm@cvs.openbsd.org 2010/08/31 12:24:09
...
[regress/cert-hostkey.sh regress/cert-userkey.sh]
tests for ECDSA certificates
2010-10-21 15:27:14 +11:00
Damien Miller
07ad389181
- (djm) [regress/README.regress] typo
2010-08-17 07:04:28 +10:00
Tim Rice
722b8d14f1
- (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh
...
regress/test-exec.sh] Under certain conditions when testing with sudo
tests would fail because the pidfile could not be read by a regular user.
"cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
Make sure cat is run by $SUDO. no objection from me. djm@
2010-08-12 09:43:13 -07:00
Damien Miller
ab139cde38
- djm@cvs.openbsd.org 2010/06/29 23:59:54
...
[cert-userkey.sh]
regress tests for key options in AuthorizedPrincipals
2010-07-02 13:42:18 +10:00
Damien Miller
527ded7f64
- phessler@cvs.openbsd.org 2010/06/27 19:19:56
...
[Makefile]
fix how we run the tests so we can successfully use SUDO='sudo -E'
in our env
2010-07-02 13:40:16 +10:00
Damien Miller
3bcce80b54
- djm@cvs.openbsd.org 2010/05/07 11:31:26
...
[regress/Makefile regress/cert-userkey.sh]
regress tests for AuthorizedPrincipalsFile and "principals=" key option.
feedback and ok markus@
2010-05-21 14:48:16 +10:00
Damien Miller
53f4bb6599
- OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2010/04/16 01:58:45
[regress/cert-hostkey.sh regress/cert-userkey.sh]
regression tests for v01 certificate format
includes interop tests for v00 certs
2010-04-18 08:15:14 +10:00
Damien Miller
700dcfa3e0
- djm@cvs.openbsd.org 2010/03/04 10:38:23
...
[regress/cert-hostkey.sh regress/cert-userkey.sh]
additional regression tests for revoked keys and TrustedUserCAKeys
2010-03-04 21:58:01 +11:00
Damien Miller
017d1e777e
- djm@cvs.openbsd.org 2010/03/03 00:47:23
...
[regress/cert-hostkey.sh regress/cert-userkey.sh]
add an extra test to ensure that authentication with the wrong
certificate fails as it should (and it does)
2010-03-04 21:57:21 +11:00
Damien Miller
e1abf4d6bc
- (djm) [regress/Makefile] Cleanup sshd_proxy_orig
2010-03-04 21:41:29 +11:00
Damien Miller
386dbc05e9
- (djm) [regress/cert-userkey.sh] s/echo -n/echon/ here too
2010-03-03 13:22:41 +11:00
Darren Tucker
c614c78c53
- (dtucker) [regress/{cert-hostkey,cfgmatch,cipher-speed}.sh} Replace
...
"echo -n" with "echon" for portability.
2010-03-01 12:49:05 +11:00
Damien Miller
58ac6de964
- djm@cvs.openbsd.org 2010/02/26 20:33:21
...
[Makefile regress/cert-hostkey.sh regress/cert-userkey.sh]
regression tests for certified keys
2010-02-27 07:57:12 +11:00
Damien Miller
8eff8e8f59
- dtucker@cvs.openbsd.org 2009/11/09 04:20:04
...
[regress/Makefile keygen-convert.sh]
add regression test for ssh-keygen pubkey conversions
2010-02-24 17:33:30 +11:00
Damien Miller
cfa42d2fd2
- markus@cvs.openbsd.org 2010/02/08 10:52:47
...
[regress/agent-pkcs11.sh]
test for PKCS#11 support (currently disabled)
2010-02-24 17:31:20 +11:00
Damien Miller
c1739211a6
- djm@cvs.openbsd.org 2010/02/24 06:21:56
...
[regress/test-exec.sh]
wait for sshd to fully stop in cleanup() function; avoids races in tests
that do multiple start_sshd/cleanup cycles; "I hate pidfiles" deraadt@
2010-02-24 17:29:34 +11:00
Damien Miller
8f9492c90d
- djm@cvs.openbsd.org 2010/02/09 06:29:02
...
[regress/Makefile]
turn on all the malloc(3) checking options when running regression
tests. this has caught a few bugs for me in the past; ok dtucker@
2010-02-24 17:28:45 +11:00
Damien Miller
bb4ae5583b
- djm@cvs.openbsd.org 2010/02/09 04:57:36
...
[regress/addrmatch.sh]
clean up droppings
2010-02-24 17:26:38 +11:00
Damien Miller
0dff9c7e6d
- dtucker@cvs.openbsd.org 2010/01/11 02:53:44
...
[regress/forwarding.sh]
regress test for stdio forwarding
2010-02-24 17:25:58 +11:00
Damien Miller
b6bd3c2ca8
- dtucker@cvs.openbsd.org 2009/11/09 04:20:04
...
[regress/Makefile]
add regression test for ssh-keygen pubkey conversions
2010-02-24 17:24:56 +11:00
Tim Rice
999aaf4182
- (tim) [regress/portnum.sh] Shell portability fix.
2010-01-16 11:37:53 -08:00
Darren Tucker
e23a79cbed
- markus@cvs.openbsd.org 2009/10/08 18:04:27
...
[regress/test-exec.sh]
re-enable protocol v1 for the tests.
2009-10-12 09:37:22 +11:00
Darren Tucker
a25ab01845
- (dtucker) [regress/portnum.sh] Import new test.
2009-10-07 11:00:58 +11:00
Darren Tucker
b99c6e1499
fix id
2009-10-07 10:58:40 +11:00
Darren Tucker
b707a24382
- dtucker@cvs.openbsd.org 2009/10/06 23:51:49
...
[regress/ssh2putty.sh]
Add OpenBSD tag to make syncs easier
2009-10-07 10:54:31 +11:00
Darren Tucker
c863895e0a
- djm@cvs.openbsd.org 2009/08/20 18:43:07
...
[ssh-com-sftp.sh]
fix one sftp -D ... => sftp -P ... conversion that I missed; from Carlos
Silva for Google Summer of Code
2009-10-07 10:46:29 +11:00
Darren Tucker
ed6b0c5fc2
- djm@cvs.openbsd.org 2009/08/13 01:11:55
...
[sftp-batch.sh sftp-badcmds.sh sftp.sh sftp-cmds.sh sftp-glob.sh]
date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.
part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus
2009-10-07 10:43:57 +11:00
Darren Tucker
287b9329c5
- djm@cvs.openbsd.org 2009/08/13 00:57:17
...
[regress/Makefile]
regression test for port number parsing. written as part of the a2port
change that went into 5.2 but I forgot to commit it at the time...
2009-10-07 10:31:56 +11:00
Darren Tucker
7988553585
- dtucker@cvs.openbsd.org 2009/05/05 07:51:36
...
[regress/multiplex.sh]
Always specify ssh_config for multiplex tests: prevents breakage caused
by options in ~/.ssh/config. From Dan Peterson.
2009-10-07 10:30:57 +11:00
Darren Tucker
7023d161d8
- djm@cvs.openbsd.org 2008/12/07 22:17:48
...
[regress/addrmatch.sh]
match string "passwordauthentication" only at start of line, not anywhere
in sshd -T output
2009-10-07 10:30:06 +11:00
Damien Miller
3f94aaf38c
- (djm) [regress/conch-ciphers.sh regress/putty-ciphers.sh]
...
[regress/putty-kex.sh regress/putty-transfer.sh] Downgrade disabled
interop tests from FATAL error to a warning. Allows some interop
tests to proceed if others are missing necessary prerequisites.
2009-02-16 15:21:39 +11:00
Darren Tucker
4a6f62d4ae
- djm@cvs.openbsd.org 2008/11/10 02:06:35
...
[regress/putty-ciphers.sh]
PuTTY supports AES CTR modes, so interop test against them too
2008-11-11 16:55:25 +11:00
Darren Tucker
b01bac109b
- djm@cvs.openbsd.org 2008/06/30 10:43:03
...
[regress/conch-ciphers.sh]
explicitly disable conch options that could interfere with the test
2008-07-04 17:11:30 +10:00
Darren Tucker
5d6d70a842
- djm@cvs.openbsd.org 2008/06/30 10:31:11
...
[putty-transfer.sh putty-kex.sh putty-ciphers.sh]
remove "set -e" left over from debugging
2008-07-04 17:10:30 +10:00
Darren Tucker
8c7a14ea28
- djm@cvs.openbsd.org 2008/06/30 08:07:34
...
[key-options.sh]
shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /
2008-07-04 17:08:58 +10:00
Damien Miller
a766cea689
- (djm) [regress/Makefile] search for conch by path, like we do putty
2008-06-30 08:12:37 +10:00
Damien Miller
4268a136d4
- djm@cvs.openbsd.org 2008/06/28 13:57:25
...
[regress/Makefile regress/test-exec.sh regress/conch-ciphers.sh]
very basic regress test against Twisted Conch in "make interop"
target (conch is available in ports/devel/py-twisted/conch);
ok markus@
2008-06-30 08:07:56 +10:00
Damien Miller
d9bfce83b7
- dtucker@cvs.openbsd.org 2008/06/11 23:11:40
...
[Makefile]
Don't run cipher-speed test by default; mistakenly enabled by me
2008-06-30 08:06:51 +10:00
Damien Miller
2e80cf2b63
- dtucker@cvs.openbsd.org 2008/06/10 23:13:43
...
[regress/Makefile regress/key-options.sh]
Add regress test for key options. ok djm@
2008-06-30 08:06:25 +10:00
Darren Tucker
e045e0c62a
- dtucker@cvs.openbsd.org 2008/06/10 23:13:43
...
[Makefile regress/key-options.sh]
Add regress test for key options. ok djm@
2008-06-11 09:38:12 +10:00
Darren Tucker
5d37690a1f
- (dtucker) [Makefile.in configure.ac regress/addrmatch.sh] Skip IPv6
...
specific tests on platforms that don't do IPv6.
2008-06-11 04:15:05 +10:00
Darren Tucker
d8bafea5a0
- dtucker@cvs.openbsd.org 2008/06/10 15:28:49
...
[test-exec.sh]
Add quotes
2008-06-11 01:39:38 +10:00
Darren Tucker
5f346649ce
- dtucker@cvs.openbsd.org 2008/06/10 15:21:41
...
[test-exec.sh]
Use a more portable construct for checking if we're running a putty test
2008-06-11 01:38:52 +10:00
Darren Tucker
75a55bf0c7
fix version tag
2008-06-11 01:33:21 +10:00
Darren Tucker
10f9242b86
- dtucker@cvs.openbsd.org 2008/06/10 05:23:32
...
[addrmatch.sh Makefile]
Regress test for Match CIDR rules. ok djm@
2008-06-10 23:16:46 +10:00
Darren Tucker
d788b7cb35
- dtucker@cvs.openbsd.org 2008/06/09 18:06:32
...
[regress/test-exec.sh]
Don't generate putty keys if we're not going to use them. ok djm
2008-06-10 23:15:54 +10:00
Damien Miller
9c8a427453
- (djm) [regress/Makefile] cleanup PuTTY interop test droppings
2008-03-27 17:42:06 +11:00
Damien Miller
6f1c462ca3
- djm@cvs.openbsd.org 2008/03/24 21:46:54
...
[regress/sftp-badcmds.sh]
disable no-replace rename test now that we prefer a POSIX rename; spotted
by dkrause@
2008-03-27 11:26:56 +11:00
Damien Miller
8f8b156acc
- (djm) [regress/test-exec.sh] Quote putty-related variables in case they are
...
empty; report and patch from Peter Stuge
- (djm) [regress/test-exec.sh] Silence noise from detection of putty
commands; report from Peter Stuge
2008-03-15 09:25:54 +11:00
Tim Rice
02db85bdcb
- (tim) [regress/localcommand.sh] Shell portability fix. Reported by imorgan at
...
nas.nasa.gov
2008-03-14 11:02:51 -07:00
Tim Rice
5143043409
- (tim) [regress/sftp-cmds.sh] s/cd/lcd/ in lls test. Reported by
...
vinschen at redhat.com. Add () to put echo commands in subshell for lls test
I mistakenly left out of last commit.
2008-03-14 10:39:17 -07:00
Tim Rice
dce65cfb3c
- (tim) [regress/sftp-cmds.sh regress/ssh2putty.sh] Shell portability fixes
...
from imorgan at nas.nasa.gov
2008-03-13 18:21:06 -07:00
Damien Miller
c2cefb0fe9
- (djm) [Makefile.in regress/test-exec.sh] Find installed plink(1) and
...
puttygen(1) by $PATH
2008-03-13 12:41:31 +11:00
Damien Miller
6642996134
- (djm) [Makefile.in regress/Makefile] Fix interop-tests target (note to
...
self: make changes to Makefile.in next time, not the generated Makefile).
2008-03-13 12:05:40 +11:00
Damien Miller
af78493bba
- djm@cvs.openbsd.org 2007/12/21 04:13:53
...
[regress/Makefile regress/test-exec.sh regress/putty-ciphers.sh]
[regress/putty-kex.sh regress/putty-transfer.sh regress/ssh2putty.sh]
basic (crypto, kex and transfer) interop regression tests against putty
To run these, install putty and run "make interop-tests" from the build
directory - the tests aren't run by default yet.
2008-03-13 00:17:00 +11:00
Damien Miller
4cd5fbab4d
- djm@cvs.openbsd.org 2007/12/12 05:04:03
...
[regress/sftp-cmds.sh]
unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@
NB. sftp code change already committed.
2008-03-12 23:59:43 +11:00
Damien Miller
d666d8e5d4
- jmc@cvs.openbsd.org 2007/11/25 15:35:09
...
[regress/agent-getpeereid.sh regress/agent.sh]
more existant -> existent, from Martynas Venckus;
pfctl changes: ok henning
ssh changes: ok deraadt
2008-03-12 23:58:55 +11:00
Damien Miller
a5e584274d
- dtucker@cvs.openbsd.org 2007/10/29 06:57:13
...
[regress/Makefile regress/localcommand.sh]
Add simple regress test for LocalCommand; ok djm@
2008-03-12 23:58:05 +11:00
Tim Rice
68d293859e
- (tim) [regress/sftp-glob.sh] Shell portability fix.
2008-03-07 19:00:33 -08:00
Damien Miller
89437edafd
- (djm) [regress/sftp-cmds.sh]
...
Use more restrictive glob to pick up test files from /bin - some platforms
ship broken symlinks there which could spoil the test.
2007-10-26 15:37:50 +10:00
Damien Miller
da1e4bd3bf
- djm@cvs.openbsd.org 2007/10/26 05:30:01
...
[regress/sftp-glob.sh regress/test-exec.sh]
remove "echo -E" crap that I added in last commit and use printf(1) for
cases where we strictly require echo not to reprocess escape characters.
2007-10-26 15:35:54 +10:00
Damien Miller
ce0e60ee57
- djm@cvs.openbsd.org 2007/10/24 03:32:35
...
[regress/sftp-cmds.sh regress/sftp-glob.sh regress/test-exec.sh]
comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@
2007-10-26 14:54:12 +10:00
Damien Miller
47d7dc8530
- pvalchev@cvs.openbsd.org 2007/06/07 19:41:46
...
[regress/cipher-speed.sh regress/try-ciphers.sh]
test umac-64@openssh.com
ok djm@
2007-10-26 14:45:57 +10:00
Damien Miller
80ba1300e2
- dtucker@cvs.openbsd.org 2006/12/13 08:36:36
...
[regress/cfgmatch.sh]
Additional test for multiple PermitOpen entries. ok djm@
2007-10-26 14:45:13 +10:00
Damien Miller
99ad35352a
- markus@cvs.openbsd.org 2006/11/06 09:27:43
...
[regress/cfgmatch.sh]
fix quoting for non-(c)sh login shells.
2007-10-26 14:44:34 +10:00
Damien Miller
fa66aa739f
- djm@cvs.openbsd.org 2006/08/29 09:44:00
...
[regress/sftp-cmds.sh]
clean up our mess
2007-10-26 14:43:50 +10:00
Darren Tucker
9869ab3557
- (dtucker) [regress/agent-getpeereid.sh] Do peereid test if we have
...
HAVE_GETPEERUCRED too. Also from Jan Pechanec.
2007-03-21 21:45:48 +11:00
Darren Tucker
90a58fdf22
- (dtucker) [regress/agent-ptrace.sh] Make ttrace gdb error a little more
...
general to cover newer gdb versions on HP-UX.
2007-03-03 09:42:23 +11:00
Darren Tucker
89f59cea1c
- (dtucker) [regress/cfgmatch.sh] stop_client is racy, so give us a better
...
chance of winning.
2006-09-08 00:03:05 +10:00
Darren Tucker
28e9ad1bed
- (dtucker) [regress/forcecommand.sh] Portablize.
2006-07-24 23:50:23 +10:00
Damien Miller
7b1877c803
- (djm) [regress/Makefile regress/agent-getpeereid.sh regress/cfgmatch.sh]
...
[regress/cipher-speed.sh regress/forcecommand.sh regress/forwarding.sh]
Sync regress tests to -current; include dtucker@'s new cfgmatch and
forcecommand tests. Add cipher-speed.sh test (not linked in yet)
2006-07-24 15:31:41 +10:00
Damien Miller
b3b4ba3fba
- (djm) [regress/.cvsignore] Ignore Makefile here
2006-03-15 13:13:27 +11:00
Damien Miller
e682cb0780
- (djm) [regress/test-exec.sh] Try 'logname' as well as 'whoami' to
...
determine the user's login name - needed for regress tests on Solaris
10 and OpenSolaris
2006-02-01 11:21:01 +11:00
Damien Miller
50c6eedce3
- djm@cvs.openbsd.org 2006/01/31 10:36:33
...
[scp.sh]
regress test for "scp a b c" where "c" is not a directory
2006-01-31 22:06:41 +11:00
Damien Miller
7410ad79f8
- djm@cvs.openbsd.org 2006/01/31 10:23:23
...
[scp.sh]
regression test for CVE-2006-0225 written by dtucker@
2006-01-31 22:06:14 +11:00
Damien Miller
0b996462f8
- djm@cvs.openbsd.org 2006/01/27 06:49:21
...
[scp.sh]
regress test for local to local scp copies; ok dtucker@
2006-01-31 22:05:23 +11:00
Damien Miller
15a815bb64
- dtucker@cvs.openbsd.org 2005/12/14 04:36:39
...
[regress/scp-ssh-wrapper.sh]
Fix assumption about how many args scp will pass; ok djm@
NB. ID sync only, we already had this
2006-01-31 22:03:11 +11:00
Damien Miller
27a0dfaea9
- grunk@cvs.openbsd.org 2005/11/14 21:25:56
...
[regress/agent-getpeereid.sh]
all other scripts in this dir use $SUDO, not 'sudo', so pull this even
ok markus@
2006-01-31 22:02:16 +11:00
Damien Miller
10c5fa7e87
- markus@cvs.openbsd.org 2005/06/30 11:02:37
...
[regress/scp.sh]
allow SUDO=sudo; from Alexander Bluhm
2006-01-31 22:01:42 +11:00
Damien Miller
ec7b2f12f0
- djm@cvs.openbsd.org 2005/05/24 04:10:54
...
[regress/try-ciphers.sh]
oops, new arcfour modes here too
2006-01-31 21:59:35 +11:00
Damien Miller
76be6b8765
- djm@cvs.openbsd.org 2005/05/20 23:14:15
...
[regress/test-exec.sh]
force addressfamily=inet for tests, unbreaking dynamic-forward regress for
recently committed nc SOCKS5 changes
2006-01-31 21:59:01 +11:00
Damien Miller
c34940c1f5
- dtucker@cvs.openbsd.org 2005/04/25 09:54:09
...
[regress/multiplex.sh]
Don't call cleanup in multiplex as test-exec will cleanup anyway
found by tim@, ok djm@
NB. ID sync only, we already had this
2006-01-31 21:57:27 +11:00
Damien Miller
edaeff5b9d
- dtucker@cvs.openbsd.org 2005/03/10 10:20:39
...
[regress/forwarding.sh]
Regress test for ClearAllForwardings (bz #994 ); ok markus@
2006-01-31 21:56:24 +11:00
Darren Tucker
3154358d66
- dtucker@cvs.openbsd.org 2005/12/30 04:36:39
...
[regress/scp-ssh-wrapper.sh]
Fix assumption about how many args scp will pass; ok djm@
2005-12-14 15:39:20 +11:00
Darren Tucker
b1a8777f3a
- (dtucker) [regress/yes-head.sh] Work around breakage caused by some
...
versions of GNU head. Based on patch from zappaman at buraphalinux.org
2005-11-28 16:41:03 +11:00
Darren Tucker
faec5ca73f
- (dtucker) [regress/test-exec.sh] Use 1024 bit keys since we generate so
...
many and use them only once. Speeds up testing on older/slower hardware.
2005-11-24 23:18:54 +11:00
Darren Tucker
cb6ecdea6c
- (dtucker) [regress/reconfigure.sh] Fix potential race in the reconfigure
...
test: if sshd takes too long to reconfigure the subsequent connection will
fail. Zap pidfile before HUPing sshd which will rewrite it when it's ready.
2005-11-12 21:30:07 +11:00
Darren Tucker
1f85dc7034
- (dtucker) [regress/README.regress] Bug #989 : Document limitation that scp
...
is required in the system path for the multiplex test to work.
2005-10-03 20:14:18 +10:00
Darren Tucker
114572f7ee
- (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully-
...
qualified sshd pathname since some systems (eg Cygwin) may consider "/foo"
and "//foo" to be different. Spotted by vinschen at redhat.com.
2005-08-23 23:32:05 +10:00
Darren Tucker
d98dce6929
- (dtucker) [regress/reexec.sh] Add ${EXEEXT} so this test also works on
...
Cygwin.
2005-05-26 13:43:57 +10:00
Darren Tucker
af342556b9
- (dtucker) [regress/multiplex.sh] Put control socket in /tmp so running
...
"make tests" works even if you'r building on a filesystem that doesn't
support sockets. From deengert at anl.gov, ok djm@
2005-04-25 17:01:26 +10:00
Darren Tucker
bf2b398327
- (dtucker) [regress/multiplex.sh] Remove cleanup call since test-exec.sh
...
will clean up anyway. From tim@
2005-04-25 14:49:48 +10:00
Darren Tucker
faefd2e73d
- (dtucker) [regress/multiplex.sh] Use "kill -0 $pid" to check for the
...
existence of a process since it's more portable. Found by jbasney at
ncsa.uiuc.edu; ok tim@
2005-04-25 14:48:22 +10:00
Darren Tucker
f899e6a526
20050312
...
- (dtucker) [regress/test-exec.sh] DEBUG can cause problems where debug
output ends up in the client's output, causing regress failures. Found
by Corinna Vinschen.
(got 4.0 branch and HEAD slightly askew, this is to resync)
2005-03-14 23:02:46 +11:00
Darren Tucker
50c7db92d6
- (dtucker) [regress/test-exec.sh] Set BIN_SH=xpg4 on OSF1/Digital Unix/Tru64
...
so that regress tests behave. From Chris Adams.
2005-03-09 10:02:55 +11:00
Darren Tucker
4b9ac3319e
- (dtucker) [regress/test-exec.sh] Put SUDO in the right place.
2005-03-07 19:15:06 +11:00
Darren Tucker
5d909f0773
- djm@cvs.openbsd.org 2005/03/04 08:48:46
...
[Makefile envpass.sh]
regress test for SendEnv config parsing bug; ok dtucker@
2005-03-07 18:35:34 +11:00
Darren Tucker
894823ec69
- djm@cvs.openbsd.org 2005/02/27 23:13:36
...
[login-timeout.sh]
avoid nameservice lookups in regress test; ok dtucker@
2005-03-07 18:34:04 +11:00
Darren Tucker
a0f3ba71a0
- dtucker@cvs.openbsd.org 2005/02/27 11:33:30
...
[multiplex.sh test-exec.sh sshd-log-wrapper.sh]
Add optional capability to log output from regress commands; ok markus@
Use with: make TEST_SSH_LOGFILE=/tmp/regress.log
2005-03-07 18:33:02 +11:00
Darren Tucker
b712fccc18
- david@cvs.openbsd.org 2005/01/14 04:21:18
...
[Makefile test-exec.sh]
pass the SUDO make variable to the individual sh tests; ok dtucker@ markus@
2005-03-07 18:27:28 +11:00
Darren Tucker
68f7213a2c
- fgsch@cvs.openbsd.org 2004/12/10 01:31:30
...
[Makefile sftp-glob.sh]
some globbing regress; prompted and ok djm@
2005-03-07 18:25:53 +11:00
Darren Tucker
1c56ef6ac3
- (dtucker) OpenBSD CVS Sync (regress/)
...
- fgsch@cvs.openbsd.org 2004/12/10 01:31:30
[Makefile]
some globbing regress; prompted and ok djm@
2005-03-07 17:36:18 +11:00
Tim Rice
f8f3016f9e
- (tim) [regress/agent-ptrace.sh] add another possible gdb error.
2005-03-02 21:49:56 -08:00
Darren Tucker
feb6f7f244
- (dtucker) [regress/test-exec.sh] Bug #912 : Set _POSIX2_VERSION for the
...
regress tests so newer versions of GNU head(1) behave themselves. Patch
by djm, so ok me.
2005-02-08 20:17:17 +11:00
Darren Tucker
5caa78b1b7
- (dtucker) [regress/rekey.sh] Touch datafile before filling with dd, since
...
on some wacky platforms (eg old AIXes), dd will refuse to create an output
file if it doesn't exist.
2004-12-20 12:35:42 +11:00
Darren Tucker
641b34c72b
- (dtucker) [regress/scp.sh] Use portable-friendly $DIFFOPTs in new test.
2004-12-07 11:26:15 +11:00
Darren Tucker
d028fea13a
- dtucker@cvs.openbsd.org 2004/12/06 10:49:56
...
[test-exec.sh]
Check if TEST_SSH_SSHD is a full path to sshd before searching; ok markus@
2004-12-06 23:16:29 +11:00
Darren Tucker
cc0603d4b6
- dtucker@cvs.openbsd.org 2004/11/25 09:39:27
...
[test-exec.sh]
Remove obsolete RhostsAuthentication from test config; ok markus@
2004-12-06 23:13:50 +11:00
Darren Tucker
79ec66e980
- djm@cvs.openbsd.org 2004/11/07 00:32:41
...
[multiplex.sh]
regression tests for new multiplex commands
2004-12-06 23:12:15 +11:00
Darren Tucker
124f58ecba
- djm@cvs.openbsd.org 2004/10/29 23:59:22
...
[Makefile added brokenkeys.sh]
regression test for handling of corrupt keys in authorized_keys file
2004-12-06 23:07:37 +11:00
Darren Tucker
71b5643598
- djm@cvs.openbsd.org 2004/10/08 02:01:50
...
[reexec.sh]
shrink and tidy; ok dtucker@
2004-12-06 23:05:52 +11:00
Darren Tucker
3206e57e93
- david@cvs.openbsd.org 2004/07/09 19:45:43
...
[Makefile]
add a missing CLEANFILES used in the re-exec test
2004-12-06 23:04:57 +11:00
Darren Tucker
ccf0779185
- dtucker@cvs.openbsd.org 2004/07/08 12:59:35
...
[scp.sh]
Regress test for bz #863 (scp double-error), requires $SUDO. ok markus@
2004-12-06 23:03:27 +11:00
Darren Tucker
a372960fa9
- djm@cvs.openbsd.org 2004/06/26 06:16:07
...
[reexec.sh]
don't change the name of the copied sshd for the reexec fallback test,
makes life simpler for portable
2004-12-06 23:00:27 +11:00
Darren Tucker
c0dc1c9bfa
Resync Ids
2004-12-06 22:58:11 +11:00
Darren Tucker
476b7ecfe4
- (dtucker) [regress/Makefile] Clean scp-ssh-wrapper.scp too. Patch from
...
vinschen at redhat.com.
2004-08-30 21:13:49 +10:00
Darren Tucker
b17035fb7f
- (dtucker) [regress/agent-ptrace.sh] Skip ptrace test on OSF1/DUnix/Tru64
...
too; patch from cmadams at hiwaay.net.
2004-08-29 20:33:07 +10:00
Darren Tucker
0521dcb22e
- (dtucker) [regress/scp.sh] Make this work on Cygwin too, which doesn't like
...
files ending in .exe that aren't binaries; patch from vinschen at redhat.com.
2004-08-29 19:39:09 +10:00
Darren Tucker
07d30e4579
- (dtucker) [regress/dynamic-forward.sh] Allow time for connections to be torn
...
down, needed on some platforms, should be harmless on others. Patch from
jason at devrandom.org.
2004-08-29 17:14:31 +10:00
Darren Tucker
2a81adc35c
- (dtucker) [regress/multiplex.sh] Skip test on platforms that do not
...
support FD passing since multiplex requires it. Noted by tim@
2004-08-29 17:09:34 +10:00
Darren Tucker
bad5f2d329
- (dtucker) [regress/README.regress] Note compatibility issues with GNU head.
2004-08-17 22:31:32 +10:00
Damien Miller
b5a21440a8
- (djm) [regress/README.regress] Remove caveat regarding TCP wrappers, now
...
that sshd is fixed to behave better; suggested by tim
2004-07-21 20:44:05 +10:00
Darren Tucker
f9eb2b0135
- (dtucker) [regress/README.regress] Document new variables.
2004-06-28 15:52:50 +10:00
Darren Tucker
ef3b47a73a
- djm@cvs.openbsd.org 2004/06/25 01:25:12
...
[regress/test-exec.sh]
clean reexec-specific junk out of text-exec.sh and simplify; idea markus@
2004-06-25 13:46:08 +10:00
Darren Tucker
977a9d21c8
- djm@cvs.openbsd.org 2004/06/24 19:32:00
...
[regress/Makefile regress/test-exec.sh, added regress/reexec.sh]
regress test for re-exec corner cases
2004-06-25 13:45:18 +10:00
Tim Rice
af4ab6cbf5
- (tim) [regress/try-ciphers.sh] "if ! some_command" is not portable.
2004-06-22 20:53:02 -07:00
Darren Tucker
3b9c0adaab
- dtucker@cvs.openbsd.org 2004/06/22 22:55:56
...
[regress/dynamic-forward.sh regress/test-exec.sh]
Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@
2004-06-23 09:28:20 +10:00
Darren Tucker
6223eea596
- dtucker@cvs.openbsd.org 2004/06/22 22:45:52
...
[regress/test-exec.sh]
Add TEST_SSH_SSHD_CONFOPTS and TEST_SSH_SSH_CONFOPTS to allow adding
arbitary options to sshd_config and ssh_config during tests. ok markus@
2004-06-23 09:25:02 +10:00
Darren Tucker
6eabe64304
- dtucker@cvs.openbsd.org 2004/06/22 22:42:02
...
[regress/envpass.sh]
Add quoting for test -z; ok markus@
2004-06-23 09:23:58 +10:00
Darren Tucker
430c6a1552
- markus@cvs.openbsd.org 2004/06/22 03:12:13
...
[regress/envpass.sh regress/multiplex.sh]
more portable env passing tests
2004-06-22 13:38:56 +10:00
Darren Tucker
6288dc14fc
- dtucker@cvs.openbsd.org 2004/06/18 06:15:51
...
[multiplex.sh]
Use -S for scp/sftp to force the use of the ssh being tested.
ok djm@,markus@
2004-06-18 16:25:35 +10:00
Darren Tucker
13fbe57722
- (dtucker) [regress/README.regress] Add detail on how to run a single
...
test from the top-level Makefile.
2004-06-18 14:14:43 +10:00
Damien Miller
e826a8c9d9
- djm@cvs.openbsd.org 2004/06/17 14:53:27
...
[regress/multiplex.sh]
shared connection env passing regress test
2004-06-18 01:23:03 +10:00
Darren Tucker
a9972e19e9
- (dtucker) [regress/multiplex.sh] Increase sleep time to 120 sec (60 is not
...
enough for slow systems, especially if they don't have a kernel RNG).
2004-06-17 17:01:21 +10:00
Darren Tucker
10e7f1929b
- (dtucker) [regress/multiplex.sh] add EXEEXT for those platforms that need
...
it.
2004-06-17 16:36:27 +10:00
Darren Tucker
3e86fc4e99
- dtucker@cvs.openbsd.org 2004/06/17 06:19:06
...
[regress/multiplex.sh]
Add small description of failing test to failure message; ok djm@
2004-06-17 16:34:02 +10:00
Darren Tucker
ffaa6a5f01
- dtucker@cvs.openbsd.org 2004/06/17 06:00:05
...
[regress/multiplex.sh]
Use DATA and COPY for test data rather than hard-coded paths; ok djm@
2004-06-17 16:32:45 +10:00
Darren Tucker
ddea13d74d
- dtucker@cvs.openbsd.org 2004/06/17 05:51:59
...
[regress/multiplex.sh]
Remove datafile between and after tests, kill sshd rather than wait;
ok djm@
2004-06-17 16:27:43 +10:00
Darren Tucker
8a2f1b3537
- (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some
...
platforms), so test if diff understands it. Pointed out by tim@, ok djm@
2004-06-17 15:18:32 +10:00
Darren Tucker
5711dca4a6
- dtucker@cvs.openbsd.org 2004/06/16 13:16:40
...
[multiplex.sh]
Silence multiplex sftp and scp tests. ok markus@
2004-06-16 23:23:50 +10:00
Darren Tucker
6f0e35b566
- dtucker@cvs.openbsd.org 2004/06/16 13:15:09
...
[regress/scp.sh]
Make scp -r tests use diff -rN not cmp (which won't do dirs. ok markus@
2004-06-16 23:22:37 +10:00
Darren Tucker
7a06f62b6a
- (dtucker) [regress/README.regress]
...
Add $TEST_SHELL to readme.
2004-06-16 21:08:32 +10:00
Darren Tucker
0e6868e2c4
- (dtucker) [regress/test-exec.sh]
...
Move Portable-only StrictModes to top of list to make syncs easier.
2004-06-16 20:36:16 +10:00
Darren Tucker
9fe95da3ea
Add missing regress/envpass.sh
2004-06-16 20:33:55 +10:00
Darren Tucker
a40395663c
- djm@cvs.openbsd.org 2004/06/13 15:16:54
...
[regress/test-exec.sh]
remove duplicate setting of $SCP; spotted by markus@
2004-06-16 20:31:18 +10:00
Darren Tucker
e7d0583f36
- djm@cvs.openbsd.org 2004/06/13 15:04:08
...
[regress/Makefile regress/test-exec.sh, added regress/multiplex.sh]
regress test for client multiplexing; ok markus@
2004-06-16 20:22:22 +10:00
Darren Tucker
50433a9243
- dtucker@cvs.openbsd.org 2004/06/13 13:51:02
...
[regress/Makefile regress/test-exec.sh, added regress/scp-ssh-wrapper.sh
regress/scp.sh]
Add scp regression test; with & ok markus@
2004-06-16 20:15:59 +10:00
Darren Tucker
4c37ef08ab
- djm@cvs.openbsd.org 2004/04/27 09:47:30
...
[regress/Makefile regress/test-exec.sh, added regress/envpass.sh]
regress test for environment passing, SendEnv & AcceptEnv options;
ok markus@
2004-06-16 20:08:56 +10:00
Darren Tucker
0a74ae7c14
- dtucker@cvs.openbsd.org 2004/03/08 10:17:12
...
[regress/login-timeout.sh]
Missing OBJ, from tim@. ok markus@ (Already fixed, ID sync only)
2004-04-19 22:04:21 +10:00
Darren Tucker
9929d1f666
- dtucker@cvs.openbsd.org 2004/02/29 22:04:45
...
[regress/login-timeout.sh]
Use sudo when restarting daemon during test. ok markus@
2004-04-19 22:01:37 +10:00
Darren Tucker
c99a19b445
- (dtucker) [regress/sftp-cmds.sh] Skip quoting test on Cygwin, since
...
FAT/NTFS does not permit quotes in filenames. From vinschen at redhat.com
2004-04-16 17:58:28 +10:00
Tim Rice
aa5383243d
- (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal
2004-03-08 12:12:18 -08:00
Tim Rice
f45eff21dc
- (tim) [regress/login-timeout.sh] fix building outside of source tree.
2004-03-07 10:40:01 -08:00
Darren Tucker
b099d855d3
- (dtucker) [regress/try-ciphers.sh] Skip acss if not compiled in (eg if we
...
built with openssl < 0.9.7)
2004-02-29 21:30:05 +11:00