The test suite we use to indicate functional acceptance of a machine instance
Pablo Greco
2019-01-02 5b9d51e92d71ebe0d7bdb1a3cf02b5bd7bc5e821
Enable ssh_user_login test for armhfp
1 files modified
7 ■■■■■ changed files
tests/p_openssh/sshd_user_login-with-key.sh 7 ●●●●● patch | view | raw | blame | history
tests/p_openssh/sshd_user_login-with-key.sh
@@ -1,12 +1,5 @@
#!/bin/sh
uname_arch=$(uname -m)
if [ "$uname_arch" == "armv7l" ]; then
  t_Log "*** Not testing on Arch: $uname_arch ***"
  exit 0
fi
for KeyType in rsa dsa; do 
    userdel -rf sshtest; useradd sshtest && echo sshtest | passwd --stdin sshtest
    runuser -l sshtest -c "echo | ssh-keygen -q -t ${KeyType} -b 1024 -f ~/.ssh/id_${KeyType}" > /dev/null