Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Sven Tennie
unix
Commits
40820da5
Commit
40820da5
authored
8 years ago
by
Thomas Miedema
Browse files
Options
Downloads
Patches
Plain Diff
Testsuite: remove no_stdin
`no_stdin` is no longer necessary, and has been removed from the testsuite driver
parent
7207bae8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/all.T
+9
-9
9 additions, 9 deletions
tests/all.T
with
9 additions
and
9 deletions
tests/all.T
+
9
−
9
View file @
40820da5
...
...
@@ -11,19 +11,19 @@ test('forkprocess01', extra_ways(['threaded1_ls']), compile_and_run,
# user001 may fail due to this bug in glibc:
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647
#
# user001 may also fail on GNU/Linux when using a terminal emulator that doesn't
# write login records to /var/run/utmp. Running:
# $ logname
# should print your login name. If it doesn't, the getLoginName test in user001
# will fail, and that's why you are here. Try xterm.
#
# Ticket #1487. The glibc implementation of getlogin, which is called by
# getLoginName, requires that a terminal is connected to filedescriptor 0.
# See: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/getlogin.c
# Therefore, we use the no_stdin option, and have to omit the 'ghci' way,
# because it relies on redirecting stdin from file.
# Therefore we have to omit the 'ghci' way, because it relies on redirecting
# stdin from file.
#
# But getLoginName also fails on GNU/Linux when using a terminal emulator
# that doesn't write login records to /var/run/utmp. Running:
# $ logname
# should print your login name. If it doesn't, the getLoginName test in user001
# would fail, so we disabled that test.
#
test
('
user001
',
[
no_stdin
,
omit_ways
(['
ghci
'])
]
,
compile_and_run
,
['
-package unix
'])
test
('
user001
',
omit_ways
(['
ghci
']),
compile_and_run
,
['
-package unix
'])
test
('
resourceLimit
',
normal
,
compile_and_run
,
['
-package unix
'])
x86FreeBsdFail
=
when
(
platform
('
i386-unknown-freebsd
'),
expect_fail
)
...
...
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