X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;ds=sidebyside;f=example%2FRecorded.hs;h=ce61cb1acfad9afd9a1ea8b65e3d00c1c946062e;hb=4de144bafd28f3f2a8067a896bedb1430f68f745;hp=e267ff80ee9f9a1d76f45bb7f7953804c2cd1223;hpb=311e9ea018ce1721cd79341243b79afdda85e2f1;p=opengl.git diff --git a/example/Recorded.hs b/example/Recorded.hs index e267ff8..ce61cb1 100644 --- a/example/Recorded.hs +++ b/example/Recorded.hs @@ -3,5 +3,6 @@ import System.Directory import System.Environment main = do - [client, server] <- ((take 2) <$> getArgs) >>= mapM canonicalizePath - replay client server + [session, dir] <- (take 2 <$> getArgs) >>= mapM canonicalizePath + passed <- replay session dir + putStrLn $ if passed then "Passed" else "Failed"