aboutsummaryrefslogtreecommitdiff
path: root/test/sshd/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/sshd/test.sh')
-rwxr-xr-xtest/sshd/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/sshd/test.sh b/test/sshd/test.sh
index bd0a516..6aac9e5 100755
--- a/test/sshd/test.sh
+++ b/test/sshd/test.sh
@@ -5,7 +5,11 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-echo 'NO TESTS FOR ME YET!'
+check "sshd-init-exists" bash -c "ls /usr/local/share/ssh-init.sh"
+check "sshd-log-exists" bash -c "ls /tmp/sshd.log"
+check "sshd-log-contents" bash -c "cat /tmp/sshd.log | grep 'Starting OpenBSD Secure Shell server'"
+check "sshd-log-has-sshd" bash -c "cat /tmp/sshd.log | grep 'sshd'"
+check "sshd" bash -c "ps -aux | grep -v grep | grep sshd"
# Report result
reportResults \ No newline at end of file