From 8b333b6781750208cb22729aa0317e7f67e9669a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Wed, 28 Aug 2002 16:20:57 +0200 Subject: [PATCH] New variables TEST_HOME and SEXP_CONV. Changed the initialization of LSH_YARROW_SEED_FILE. Use TEST_HOME when running lsh and lshd. Should make the tests independent of our own ~/.lsh. Also updated comments in test-scripts that said they were dependent on ~/.lsh. Rev: src/testsuite/lsh-1-test:1.5 Rev: src/testsuite/lsh-2-test:1.4 Rev: src/testsuite/lsh-3-test:1.4 Rev: src/testsuite/lsh-4-test:1.3 Rev: src/testsuite/lsh-5-test:1.3 Rev: src/testsuite/lsh-6-test:1.3 Rev: src/testsuite/lsh-cat-test:1.4 Rev: src/testsuite/lshg-1-test:1.3 Rev: src/testsuite/lshg-cat-2-test:1.3 Rev: src/testsuite/lshg-cat-test:1.3 Rev: src/testsuite/lshg-tcpip-local-test:1.2 Rev: src/testsuite/tcpip-local-test:1.5 Rev: src/testsuite/tcpip-remote-test:1.4 --- src/testsuite/lsh-1-test | 6 ------ src/testsuite/lsh-2-test | 6 ------ src/testsuite/lsh-3-test | 6 ------ src/testsuite/lsh-4-test | 6 ------ src/testsuite/lsh-5-test | 6 ------ src/testsuite/lsh-6-test | 6 ------ src/testsuite/lsh-cat-test | 6 ------ src/testsuite/lshg-1-test | 6 ------ src/testsuite/lshg-cat-2-test | 6 ------ src/testsuite/lshg-cat-test | 6 ------ src/testsuite/lshg-tcpip-local-test | 6 ------ src/testsuite/tcpip-local-test | 6 ------ src/testsuite/tcpip-remote-test | 6 ------ 13 files changed, 78 deletions(-) diff --git a/src/testsuite/lsh-1-test b/src/testsuite/lsh-1-test index 5438b484..cb1d31ee 100755 --- a/src/testsuite/lsh-1-test +++ b/src/testsuite/lsh-1-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 1 if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-2-test b/src/testsuite/lsh-2-test index 32a8493e..91b8b506 100755 --- a/src/testsuite/lsh-2-test +++ b/src/testsuite/lsh-2-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 2 if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-3-test b/src/testsuite/lsh-3-test index b5c21817..c30a127a 100755 --- a/src/testsuite/lsh-3-test +++ b/src/testsuite/lsh-3-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 3 if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-4-test b/src/testsuite/lsh-4-test index 534d4a55..68c571eb 100755 --- a/src/testsuite/lsh-4-test +++ b/src/testsuite/lsh-4-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 4 if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-5-test b/src/testsuite/lsh-5-test index 0e943c1e..bf4b4908 100755 --- a/src/testsuite/lsh-5-test +++ b/src/testsuite/lsh-5-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 5, using an RSA hostkey if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-6-test b/src/testsuite/lsh-6-test index 98f11334..158849f6 100755 --- a/src/testsuite/lsh-6-test +++ b/src/testsuite/lsh-6-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, test 6, using various encryption algorithms if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lsh-cat-test b/src/testsuite/lsh-cat-test index 2ef75bc3..1bc7eedd 100755 --- a/src/testsuite/lsh-cat-test +++ b/src/testsuite/lsh-cat-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lsh, cat test if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lshg-1-test b/src/testsuite/lshg-1-test index e03055e7..85d7d007 100755 --- a/src/testsuite/lshg-1-test +++ b/src/testsuite/lshg-1-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lshg test 1 if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lshg-cat-2-test b/src/testsuite/lshg-cat-2-test index 32be4dc1..fdcea359 100755 --- a/src/testsuite/lshg-cat-2-test +++ b/src/testsuite/lshg-cat-2-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lshg, cat 2 test if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lshg-cat-test b/src/testsuite/lshg-cat-test index c6b29c78..c3a56448 100755 --- a/src/testsuite/lshg-cat-test +++ b/src/testsuite/lshg-cat-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - echo lshg, cat test if [ -z "$srcdir" ] ; then diff --git a/src/testsuite/lshg-tcpip-local-test b/src/testsuite/lshg-tcpip-local-test index ba4a84c1..cf3b71ec 100755 --- a/src/testsuite/lshg-tcpip-local-test +++ b/src/testsuite/lshg-tcpip-local-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - if [ -z "$srcdir" ] ; then srcdir=`pwd` fi diff --git a/src/testsuite/tcpip-local-test b/src/testsuite/tcpip-local-test index ad3d75e2..c05bb1be 100755 --- a/src/testsuite/tcpip-local-test +++ b/src/testsuite/tcpip-local-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - if [ -z "$srcdir" ] ; then srcdir=`pwd` fi diff --git a/src/testsuite/tcpip-remote-test b/src/testsuite/tcpip-remote-test index d365b30d..c341d7a7 100755 --- a/src/testsuite/tcpip-remote-test +++ b/src/testsuite/tcpip-remote-test @@ -1,11 +1,5 @@ #! /bin/sh -# Tests connecting with lsh. In order to use this, you must already -# have lsh set up so that you can login without password. - -# This restriction can be fixed if we add an option to lshd to use a -# custom passwd-file. - if [ -z "$srcdir" ] ; then srcdir=`pwd` fi -- GitLab