Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rinat Striungis
unix
Commits
5ee7433f
Commit
5ee7433f
authored
13 years ago
by
pcapriotti
Browse files
Options
Downloads
Patches
Plain Diff
Re-enable posix005 test (#5648)
parent
335fd69c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/libposix/all.T
+1
-1
1 addition, 1 deletion
tests/libposix/all.T
tests/libposix/posix005.hs
+3
-3
3 additions, 3 deletions
tests/libposix/posix005.hs
tests/libposix/posix005.stdout
+1
-1
1 addition, 1 deletion
tests/libposix/posix005.stdout
with
5 additions
and
5 deletions
tests/libposix/all.T
+
1
−
1
View file @
5ee7433f
...
...
@@ -6,7 +6,7 @@ test('posix003', if_os('mingw32', skip), compile_and_run, [''])
test
('
posix004
',
[
reqlib
('
unix
')
],
compile_and_run
,
[''])
test
('
posix005
',
[
reqlib
('
unix
')
,
expect_broken
(
5648
)
],
compile_and_run
,
[''])
test
('
posix005
',
[
reqlib
('
unix
')
],
compile_and_run
,
[''])
test
('
posix006
',
reqlib
('
unix
'),
compile_and_run
,
[''])
test
('
posix009
',
[
omit_ways
(
threaded_ways
),
reqlib
('
unix
')
],
compile_and_run
,
[''])
...
...
This diff is collapsed.
Click to expand it.
tests/libposix/posix005.hs
+
3
−
3
View file @
5ee7433f
...
...
@@ -4,8 +4,8 @@ import System.Posix.Env
main
=
do
hSetBuffering
stdout
NoBuffering
term
<-
getEnv
Var
"TERM"
putStrLn
term
term
<-
getEnv
"TERM"
maybe
(
return
()
)
putStrLn
term
setEnvironment
[(
"one"
,
"1"
),(
"two"
,
"2"
)]
getEnvironment
>>=
print
setEnv
"foo"
"bar"
True
...
...
@@ -16,6 +16,6 @@ main = do
getEnvironment
>>=
print
unsetEnv
"foo"
getEnvironment
>>=
print
setEnvironment
[]
clearEnv
getEnvironment
>>=
print
This diff is collapsed.
Click to expand it.
tests/libposix/posix005.stdout
+
1
−
1
View file @
5ee7433f
emacs
vt100
[("one","1"),("two","2")]
[("one","1"),("two","2"),("foo","bar")]
[("one","1"),("two","2"),("foo","baz")]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment