diff --git a/ghc/tests/io/should_run/io034.hs b/ghc/tests/io/should_run/io034.hs new file mode 100644 index 0000000000000000000000000000000000000000..97faf05d58d72f0a15caca1145cb56bab77d6aec --- /dev/null +++ b/ghc/tests/io/should_run/io034.hs @@ -0,0 +1,9 @@ +import Directory + +main = do + p <- getPermissions "." + print p + p <- getPermissions "io034.hs" + print p + p <- getPermissions "io034.bin" + print p diff --git a/ghc/tests/io/should_run/io034.stdout b/ghc/tests/io/should_run/io034.stdout new file mode 100644 index 0000000000000000000000000000000000000000..b827957934cc5b6cf6b949a9f08a2232c923160f --- /dev/null +++ b/ghc/tests/io/should_run/io034.stdout @@ -0,0 +1,3 @@ +Permissions{readable=True,writable=True,executable=False,searchable=True} +Permissions{readable=True,writable=True,executable=False,searchable=False} +Permissions{readable=True,writable=True,executable=True,searchable=False}