diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index c1577008d3..ff2ab31074 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -3638,7 +3638,7 @@ tramp--test-shell-command-to-string-asynchronously "Check that two connections with separate ports are different." (skip-unless (tramp--test-enabled)) ;; Bug#29712. - (skip-unless (not (eq system-type 'darwin))) + ;; (skip-unless (not (eq system-type 'darwin))) ;; We test it only for the mock-up connection; otherwise there might ;; be problems with the used ports. (skip-unless (and (eq tramp-syntax 'default) @@ -3663,7 +3663,7 @@ tramp--test-shell-command-to-string-asynchronously (format "%s=%d" envvar port) tramp-remote-process-environment))) (should - (string-equal + (string-match (number-to-string port) (shell-command-to-string (format "echo -n $%s" envvar))))))