diff --git a/test/cmdlineargs.jl b/test/cmdlineargs.jl index 730201f80bf5a4..37476f4771c917 100644 --- a/test/cmdlineargs.jl +++ b/test/cmdlineargs.jl @@ -6,8 +6,10 @@ let exename = joinpath(JULIA_HOME, (ccall(:jl_is_debugbuild, Cint, ()) == 0 ? "j @test readall(`$exename -v`) == readall(`$exename --version`) # --help - @test startswith(readall(`$exename -h`), "julia [options] [program] [args...]") - @test startswith(readall(`$exename --help`), "julia [options] [program] [args...]") + @unix_only begin + @test startswith(readall(`$exename -h`), "julia [options] [program] [args...]") + @test startswith(readall(`$exename --help`), "julia [options] [program] [args...]") + end # --quiet # This flag is indirectly tested in test/repl.jl