diff --git a/test/lisp/tab-bar-tests.el b/test/lisp/tab-bar-tests.el index 81555dad171..3f9ee3aa4b7 100644 --- a/test/lisp/tab-bar-tests.el +++ b/test/lisp/tab-bar-tests.el @@ -52,7 +52,7 @@ (tab-bar-tabs-set nil)) (ert-deftest tab-bar-tests-quit-restore-window () - (skip-when (and noninteractive (eq system-type 'windows-nt))) + (skip-unless (and (eq system-type 'gnu/linux) (getenv "TERM"))) (let* ((frame-params (when noninteractive '((window-system . nil) (tty-type . "linux"))))