Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / TestOptions / test-TestOptions.hs
blob7c21bff136c0f76d85739b0e694b391fccdc1930
1 module Main where
3 import System.Environment ( getArgs )
4 import System.Exit ( exitFailure, exitSuccess )
6 main :: IO ()
7 main = do
8 args <- getArgs
9 if args == ["1", "2", "3"]
10 then exitSuccess
11 else putStrLn ("Got: " ++ show args) >> exitFailure