diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-28 20:46:31 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-28 20:46:31 +0100 |
commit | c5e12d0fa598aaf3112b43e050d18e93d29903ee (patch) | |
tree | eaaa2743496d4eda66687efe22a3a63a624de6e8 | |
parent | 365fd80e150e940e045be185bd58aac16363c4a8 (diff) | |
download | debvm-c5e12d0fa598aaf3112b43e050d18e93d29903ee.tar.gz |
tests: do not attempt to update a known hosts file
This makes testing work in situations where $HOME isn't writeable.
-rwxr-xr-x | tests/create-and-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh index 0e2a3ca..0425e63 100755 --- a/tests/create-and-run.sh +++ b/tests/create-and-run.sh @@ -20,7 +20,7 @@ debvm-create -k ssh_id.pub -o test.ext4 -a "$1" -r "$2" timeout 240s debvm-run -s 2222 -i test.ext4 & timeout=5 -sshopt="-o StrictHostKeyChecking=no $(if test "$2" = jessie; then echo -o PubkeyAcceptedKeyTypes=+ssh-rsa; fi)" +sshopt="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $(if test "$2" = jessie; then echo -o PubkeyAcceptedKeyTypes=+ssh-rsa; fi)" ts=$(sleepenh 0 || [ $? -eq 1 ]) for i in $(seq 30); do rv=0 |