diff --git a/cabal-testsuite/PackageTests/Manpage/cabal.test.hs b/cabal-testsuite/PackageTests/Manpage/cabal.test.hs index 6b19fa4d7ce..68def219070 100644 --- a/cabal-testsuite/PackageTests/Manpage/cabal.test.hs +++ b/cabal-testsuite/PackageTests/Manpage/cabal.test.hs @@ -7,8 +7,8 @@ main = cabalTest $ do assertOutputContains ".B cabal install" r assertOutputDoesNotContain ".B cabal manpage" r - -- The following test of `cabal man` needs `nroff` which is not available under Windows. - unless (buildOS == Windows) $ do + -- The following test of `cabal man` needs `nroff` which is not available under Windows and OSX. + unless (buildOS == Windows || buildOS ==OSX) $ do -- Check that output of `cabal man --raw` can be passed through `nroff -man` -- without producing any warnings (which are printed to stderr).