Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Fix test suite for Guile 3.0.5. #27

Merged
merged 1 commit into from Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/client-server.scm
Expand Up @@ -743,8 +743,10 @@

;;;

(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "client-server")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; client-server.scm ends here.
4 changes: 3 additions & 1 deletion tests/dist.scm
Expand Up @@ -269,8 +269,10 @@ $4 = #<session #<undefined>@#<undefined>:22 (disconnected) 453fff>"
;;;


(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "dist")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; dist.scm ends here.
3 changes: 2 additions & 1 deletion tests/key.scm
Expand Up @@ -170,9 +170,10 @@
(eq? (get-key-type key) 'ecdsa-p256)))))))

;;;
(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "key")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; key.scm ends here.
5 changes: 4 additions & 1 deletion tests/log.scm
Expand Up @@ -64,8 +64,11 @@
(get-log-verbosity))


(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "log")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))


;;; log.scm ends here
4 changes: 3 additions & 1 deletion tests/popen.scm
Expand Up @@ -129,8 +129,10 @@
(format-log/scm 'nolog "open-remote-output-pipe" "channel: ~A" channel)
(output-only? channel)))))))

(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "popen")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; popen.scm ends here.
4 changes: 3 additions & 1 deletion tests/server-client.scm
Expand Up @@ -148,8 +148,10 @@
(equal? x session))))))


(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "server-client")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; server-client.scm ends here.
4 changes: 3 additions & 1 deletion tests/server.scm
Expand Up @@ -157,9 +157,11 @@
(server-listen server)
#t))

(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "server")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; server.scm ends here.

4 changes: 3 additions & 1 deletion tests/session.scm
Expand Up @@ -210,8 +210,10 @@
(let ((session (%make-session)))
(not (connected? session))))

(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "session")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; session.scm ends here.
3 changes: 2 additions & 1 deletion tests/shell.scm
Expand Up @@ -113,9 +113,10 @@


;;;
(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "shell")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; shell.scm ends here.
4 changes: 3 additions & 1 deletion tests/sssh-ssshd.scm
Expand Up @@ -118,8 +118,10 @@
result)))


(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "sssh-ssshd")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; sssh-ssshd.scm ends here.
4 changes: 3 additions & 1 deletion tests/tunnel.scm
Expand Up @@ -191,8 +191,10 @@
(= pnum portnum)))
(eq? (channel-cancel-forward session "localhost" portnum) 'ok))))))))

(define exit-status (test-runner-fail-count (test-runner-current)))

(test-end "tunnel")

(exit (= (test-runner-fail-count (test-runner-current)) 0))
(exit (= 0 exit-status))

;;; tunnel.scm ends here.